Date & Time Formats

Issues related to forms.
Post Reply
lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Date & Time Formats

Post by lpug » Sun Jul 01, 2018 10:09 pm

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

User avatar
Pablo
 
Posts: 18328
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo » Mon Jul 02, 2018 5:51 am

To which part of the software is this related to?

lpug
 
 
Posts: 80
Joined: Thu Apr 05, 2018 10:15 am

Re: Date & Time Formats

Post by lpug » Mon Jul 02, 2018 6:18 am

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

User avatar
Pablo
 
Posts: 18328
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo » Mon Jul 02, 2018 6:39 am

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

Post Reply