Day of Year to Date Converter
Turn a year and day number into a date.
How the Day of Year to Date Converter Works
The Day of Year to Date Converter turns an ordinal day number (1–366) and a year back into a calendar date.
Enter the year
Enter the year. Leap years shift every date after day 59.
Enter the day number
Enter a value from 1 to 365, or 1 to 366 for a leap year.
Add days to 1 January
The converter adds the day number minus 1 to 1 January.
Read the date
The result shows the calendar date in YYYY-MM-DD format.
How the Count Is Calculated
The Day of Year to Date formula adds N − 1 days to 1 January.
Date = 1 January of year Y + (N − 1) days- Y
- The year.
- N
- Ordinal day number, 1 to 366.
- N − 1
- Days after 1 January.
Example: Day 100 of 2026 is 1 January + 99 days. Day 100 of 2026 is 10 April 2026, and day 100 of 2028 is 9 April 2028.
Worked Examples
The table converts sample day numbers into dates for a common year (2026) and a leap year (2028).
| Day number | 2026 (common) | 2028 (leap) |
|---|---|---|
| 1 | 1 Jan | 1 Jan |
| 32 | 1 Feb | 1 Feb |
| 60 | 1 Mar | 29 Feb |
| 100 | 10 Apr | 9 Apr |
| 150 | 30 May | 29 May |
| 200 | 19 Jul | 18 Jul |
| 256 | 13 Sep | 12 Sep |
| 300 | 27 Oct | 26 Oct |
| 365 | 31 Dec | 30 Dec |
| 366 | not valid | 31 Dec |
What the Tool Measures
A Day of Year to Date Converter is a tool that reads an ordinal date, such as 2026-100, and returns the calendar date.
The same day number maps to different dates in common and leap years from day 60 onward. Day 60 is 1 March in 2026 and 29 February in 2028.
When to Use This Tool
There are 4 main uses of the Day of Year to Date Converter, including decoding batch codes and reading logs.
Batch codes
Shoppers decode a code such as 26100 into a production date of 10 April 2026.
Satellite and weather data
Analysts convert day-of-year file names into dates.
Military dates
Logistics staff read ordinal dates on supply records.
Server logs
Engineers convert ordinal timestamps into readable dates.