Calendar & Leap Years

Day Of Year To Date Converter

Convert a year and ordinal day into a date.

--
days

--

Business Days
0
Weekend Days
0
Weeks
0.0
Total Hours
0 h

How Day Of Year To Date Converter Works?

The Day of Year to Date Converter works by subtracting month lengths from the ordinal day until the remainder fits inside a month, returning a calendar date.

  1. 1

    Enter the year

    The year decides whether February has 28 or 29 days.

  2. 2

    Enter the ordinal day

    Type a number from 1 to 365 (or 366).

  3. 3

    Subtract month lengths

    The converter subtracts 31 for January, 28 or 29 for February, and so on.

  4. 4

    Read the date

    The month where the remainder fits, plus the remainder, gives the date.

Day Of Year To Date Converter Formula

The Day of Year to Date formula is Date = January 1 + (N − 1) days.

Date = Jan 1 of Year + (N − 1) days
N:
Ordinal day (1–366)

Example: Day 256 of 2026 is Jan 1, 2026 + 255 days = Sep 13, 2026. Day 256 of 2028 is Sep 12, 2028.

Day Of Year To Date Converter Conversion Table

The table converts 8 ordinal days into dates for 2026 and 2028.

Day of Year2026 Date2028 Date
1Jan 1, 2026Jan 1, 2028
32Feb 1, 2026Feb 1, 2028
60Mar 1, 2026Feb 29, 2028
100Apr 10, 2026Apr 9, 2028
182Jul 1, 2026Jun 30, 2028
200Jul 19, 2026Jul 18, 2028
256Sep 13, 2026Sep 12, 2028
365Dec 31, 2026Dec 30, 2028

What is Day Of Year To Date Converter?

A Day of Year to Date Converter is a tool that turns an ordinal day number and a year into a calendar date.

The converter reverses the day of year calculation. Lot codes, Julian-style dates and scientific records store dates as a day number, and the converter turns that number back into a readable date.

Day 366 exists only in leap years. Day 256 is known as Programmers' Day (2⁸ = 256), which falls on September 13 in a common year and September 12 in a leap year.

What are the uses of Day Of Year To Date Converter?

There are 5 main uses of the Day of Year to Date Converter: reading lot codes, decoding data files, expiry checks, research logs and code testing.

  • Reading lot codes

    Shoppers decode packaging codes such as "26329".

  • Decoding data files

    Analysts convert ordinal dates in CSV files.

  • Expiry checks

    Pharmacists check production dates on drug labels.

  • Research logs

    Scientists convert observation day numbers into dates.

  • Code testing

    Developers check ordinal-date parsers.

Related Calendar & Leap Years Tools

View All 141 Tools →