Can't type text form variable

Can’t type text from variable for Recorder variables DateTime to Date format (convert Date to string). And can’t is current day if start run RPA time 6.00 AM from local Asia/Bangkok