Web Core FormatDateTime Incorrect

Hi,

FormatDateTime using dd/mm/yyyy is returning dd-mm-yyyy

Thanks,

Ken

This works correctly. Web browser settings are handled completely independently of your operating system. Only Internet Explorer did not have a separate interpretation in the past. Look at this snippet:

In order to resolve your issue, please use a customized TFormatSettings record.
(In case you purchased my book, there is a detailed chapter on that topic... not trying to pitch a sale, but maybe you already did purchase the book and missed the chapter)

Hi,

Sorry, I have not purchased your book.

Thanks, FormatDateTime works correctly after settiing FormatSettings in the initialization section.

Regards,

Ken

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.