Bug? DateTime.Date returns time, not date

DonManfred

Expert
Licensed User
Longtime User
Make sure you have set DateFormat and timeFormat correctly

What shows the log when using this code?

B4X:
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
Top