Date formats

The following formats are used in XFP:

Format Example
DD/MM/YYYY 30/07/2020
DD-MM-YYYY 30-07-2020
MM/DD/YYYY 07/30/2020
MM-DD-YYYY 07-30-2020
YYYY-MM-DD 2020-07-30
DD/MM/YYYY HH:MM:SS 30/07/2020 14:46:10
DD-MM-YYYY HH:MM:SS 30-07-2020 14:46:10
MM/DD/YYYY HH:MM:SS 07/30/2020 14:46:10
MM-DD-YYYY HH:MM:SS 07-30-2020 14:46:10
YYYY-MM-DD HH:MM:SS 2020-07-30 14:46:10
RFC 3339* 2020-07-30T14:46:10+01:00

Localised formats change based on the region the site has been configured for.

Locale Format Example(s)
en_GB DD/MM/YYYY 30/07/2020
en_US D/M/YY 7/30/20

Where:

     YYYY = Four-digit year
     MM   = Two-digit month (01=January, etc.)
     DD   = Two-digit day of month (01 through 31)
     hh   = Two digits of hour (00 through 23) (am/pm NOT allowed)
     mm   = Two digits of minute (00 through 59)
     ss   = Two digits of second (00 through 59)
     s    = One or more digits representing a decimal fraction of a second
     TZD  = Time zone designator (Z or +hh:mm or -hh:mm)

* RFC 3339 specifies a complete representation of date and time (with fractional seconds as optional) and is a common format used in web services.

results matching ""

    No results matching ""