SSIS | Date to YYYYMMDD String This expression will convert a datetime field in format YYYYMMDD i.e. with <datetime> ='2017-01-03 13:18:13.667' it will return 20170103 [String (8)] Just replace for your field name (DT_WSTR, 8)REPLACE((DT_WSTR, 10)(DT_DBDATE)<datetime>,"-","")