Page 1 of 1

Date & Time Formats

Posted: Sun Jul 01, 2018 10:09 pm
by lpug
Hello,

Is there a way to change the returned format for dates and time? i.e. 24hr time to 12hr and date format dd/mm/yyyy

Thanks

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 5:51 am
by Pablo
To which part of the software is this related to?

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 6:18 am
by lpug
Forms - Editbox, datetime-local, response from the server, i would like date format to be dd/mm/yyyy instead of yyyy/mm/dd and 12hr time rather than 24hr format.(Could this be my host issue the way it parses the data?)

Thanks

Re: Date & Time Formats

Posted: Mon Jul 02, 2018 6:39 am
by Pablo
The editbox date input is a standard HTML/browser feature. The format is determined by the browser based on the user preference or local settings. You cannot change this via HTML.

https://developer.mozilla.org/en-US/doc ... time-local