Developmentversion v1.0.0
Date Time Formatter
Pick a date, see it in every common format at once, and copy the one you need — or write your own pattern.
A time with no offset is read in the zone below.
FormatsUTC
Pattern tokens
| YYYY · YY | year, 4 / 2 digits |
|---|---|
| GGGG · GG | ISO week-year, 4 / 2 digits |
| Q | quarter, 1–4 |
| MMMM · MMM · MM · M | October · Oct · 10 · 10 |
| WW · W | ISO week, 01–53 |
| DDDD · DDD | day of year, 001–366 |
| DD · D | day of month |
| dddd · ddd | Monday · Mon |
| E | ISO weekday, Monday 1 … Sunday 7 |
| d | weekday, Sunday 0 … Saturday 6 |
| HH · H | hour, 00–23 |
| hh · h | hour, 01–12 |
| A · a | AM / am |
| mm · m | minute |
| ss · s | second |
| SSS | millisecond |
| Z · ZZ | offset +01:00 · +0100 |
| X · x | Unix seconds · milliseconds |
| [text] | literal text |
From the command line
A bare request formats the current time; a piped body is formatted instead. Choose a preset with ?format= or write your own with ?pattern=. The zone defaults to UTC.
curl -fsS 'https://tools.primeforge.app/datetime?format=iso'echo 2026-10-12 | curl -fsS --data-binary @- 'https://tools.primeforge.app/datetime?format=yywwd&tz=UTC'echo 2026-10-12 | curl -fsS --data-binary @- 'https://tools.primeforge.app/datetime?pattern=YYYY-MM-DD%20HH%3Amm&tz=UTC'