Bug? DateTime.Date returns time, not date

Make sure you have set DateFormat and timeFormat correctly

What shows the log when using this code?

Code: Copy
log(DateTime.DateFormat)
log(DateTime.TimeFormat)
'DateTime.DateFormat = "M/d/yyyy"    'example: 12/28/2013
'DateTime.TimeFormat="h:mm:ss a"    '5:35:19 PM


See here for more informations on Formats
 
  • Like
Reactions: eps
Back
Top