You need to enable JavaScript to run this app.
date-fns interactive format builder
Now
03:57:56 PM 30/03/2025 GMT+0
Format
Examples
Pattern:
hh:mm:ss a dd/LL/yyyy O
Current:
03:57:56 PM 30/03/2025 GMT+0
Pattern:
HH:mm:ss dd/LL/yyyy
Current:
15:57:56 30/03/2025
Pattern:
HH:mm:ss.SSS
Current:
15:57:56.185
Pattern:
dd-LL-yyyy
Current:
30-03-2025
Era
Calendar Year
Local week-numbering year
ISO week-numbering year
Extended year
Quarter (formatting)
Quarter (stand-alone)
Month (formatting)
Month (stand-alone)
Local week of year
ISO week of year
Day of month
Day of year
Day of week (formatting)
ISO day of week (formatting)
Local day of week (formatting)
Local day of week (stand-alone)
AM, PM
AM, PM, noon, midnight
Flexible day period
Hour [1-12]
Hour [0-23]
Hour [0-11]
Hour [1-24]
Minute
Second
Fraction of second
Timezone (ISO-8601 w/ Z)
Timezone (ISO-8601 w/o Z)
Timezone (GMT)
Timezone (specific non-locat.)
Seconds timestamp
Milliseconds timestamp
Long localized date
Long localized time
Combination of date and time