Skip to content
PrimeForgeTools
Theme: system

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 · YYyear, 4 / 2 digits
GGGG · GGISO week-year, 4 / 2 digits
Qquarter, 1–4
MMMM · MMM · MM · MOctober · Oct · 10 · 10
WW · WISO week, 01–53
DDDD · DDDday of year, 001–366
DD · Dday of month
dddd · dddMonday · Mon
EISO weekday, Monday 1 … Sunday 7
dweekday, Sunday 0 … Saturday 6
HH · Hhour, 00–23
hh · hhour, 01–12
A · aAM / am
mm · mminute
ss · ssecond
SSSmillisecond
Z · ZZoffset +01:00 · +0100
X · xUnix 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'