Four novel compounds (S-DCM-1O, S-DCM-2O, S-DCM-3O, and S-DCM-4O) based on sulfur-substituted dicyanomethylene-4H-chromene (S-DCM) and diarylethene were synthesized. The detailed investigations on the fluorescence spectra, absorption spectra, time-dependent density functional theory...