Date Formatter
Render a date in ISO, RFC, common regional, or custom patterns.
Loading tool…
About this tool
Formats a date into common patterns at once, plus a custom pattern of your own, so you can find the format string that produces the output you want.
Questions
- Which pattern tokens are supported?
- date-fns tokens — yyyy for year, MM for month, dd for day, HH for 24-hour. Note that MM is month and mm is minutes, which is the classic mix-up.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.