TOOLTIKI Lovable tool, really free
Developer Convert

Day of year to date

Year
Day of the year
Date 2026-07-19
Ordinal date · 1 January is day 1
That day
Written out Sunday 19 July 2026
Day of the week Sunday
Month July
Day of the month 19
ISO week 29
Days left in the year 165
Note
Local · ordinal, not astronomical Julian

Day 60 is 1 March in a common year and 29 February in a leap year. Every day number after 59 shifts by one across a leap year, which is why an ordinal date is only meaningful alongside its year — and why systems that store a day number without the year eventually produce an off-by-one.

Advertisement
320 × 100

Converts an ordinal date — a year and a day number from 1 to 365 or 366 — into a calendar date, with the weekday, the ISO week and how many days are left in the year.

How to use the day of year to date

1 Enter the year.
2 Enter the day number, 1 to 365 or 366.
3 Read the date it lands on.

Ordinal dates are the "day 200" form, and they turn up in places that predate friendlier formats: mainframe records, Julian date fields in banking and aviation, satellite telemetry, and the %j output of Unix date. ISO 8601 defines the format properly as 2026-200, though most systems that use it write the number alone and rely on the year being obvious.

The leap year is where it goes wrong. Day 60 is 1 March in a common year and 29 February in a leap year, and every day number above 59 shifts by one. That means a day number is only meaningful together with its year — and a system that stores the number and infers the year is one leap year away from an off-by-one that nobody notices until February.

A related confusion worth clearing up: this is not the astronomical Julian Day, which counts days continuously from 4713 BC and is currently around 2.46 million. The overlapping name is unfortunate and genuinely causes mistakes; if a field holds a seven-digit number it is the astronomical one.

Questions

No, though the names overlap. The astronomical Julian Day counts from 4713 BC and is about 2.46 million today.

ISO 8601 — date and time representations
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING