1

I would like dates to be formatted as date-times depending on the region.

Looking at this a date format of 14 can be used. This will make the format change depending on region. E.g. d/m/yy for UK while m/d/yy for US. This will only include the date and not time too.

Is it possible to do the same but to also include times?

Michael
  • 3,411
  • 4
  • 25
  • 56

1 Answers1

1

Looking at this documentation you might want to use 0x16 (22 as decimal) as key:

0x16, "m/d/yy h:mm"

jmizv
  • 1,172
  • 2
  • 11
  • 28
  • That looks like it. Is it possible to include seconds? I've been looking at the other formats from 3-8 and I'm not sure what they represent. – Michael Aug 06 '20 at 12:11
  • The list does not show a date time format with seconds. I guess you need to rely on the current locale and use the corresponding date time format. – jmizv Aug 06 '20 at 12:13