LIVE FORMAT WORKBENCH
Make dates say exactly what you mean.
A small, fast reference for experimenting with date-fns format tokens against the current time.
YOUR REFERENCE TIME
09:46:12 PM
Tuesday, September 8, 2026
01 / TRY A FORMAT
Test any token string.
Use quotes for literal text. Need a token refresher? Read the official docs.
OUTPUT
2026-09-08 21:46:12
02 / STARTING POINTS
Useful formats, live and ready to copy.
FORMATEXAMPLE
Pp 09/08/2026, 9:46 PM
PPpp Sep 8, 2026, 9:46:12 PM
PP Sep 8, 2026
PPP September 8th, 2026
PP 'at' p Sep 8, 2026 at 9:46 PM
MM/dd/y hh:mm a 09/08/2026 09:46 PM
iii M/d 'at' p Tue 9/8 at 9:46 PM
yyyy-MM-dd HH:mm:ss 2026-09-08 21:46:12
MM/dd/yyyy 09/08/2026
yyyy-MM-dd 2026-09-08
yyyy/MM/dd 2026/09/08
MMMM yyyy September 2026
MMM d Sep 8
MMMM d September 8
eeee MM/dd/yyyy Tuesday 09/08/2026
E MMM do Tue Sep 8th
MMMM d 'at' p September 8 at 9:46 PM
MMMM d, yyyy September 8, 2026
eee Tue
eeee Tuesday
h:mm a 9:46 PM