How this tool counts
January 1 is day 1. Ordinary years end at 365 and leap years at 366. Invalid day numbers are rejected.
When to use it
Useful for records and plans labelled by ordinal day. This is not the astronomical Julian Day number.
Sources & further checking
Questions before you start
Is January 1 day zero or day one in a day-of-year calculation?
This page counts January 1 as day 1. The last date is day 365 in an ordinary year or day 366 in a leap year. That ordinal convention differs from elapsed-day calculations that treat an original date as day zero.
How do I convert the 100th day of a year into a date?
Choose the ordinal-to-date direction, enter the year and then enter 100. The tool checks whether that year is a leap year before finding the Gregorian date. Keep the year with the ordinal number, since dates after February can shift by a day between ordinary and leap years.
Why is day 366 rejected for some years?
An ordinary Gregorian year has only 365 dates, so its day 366 is invalid. The calculator checks the selected year’s length instead of silently treating an excessive number as January 1 of the next year. Confirm the year and whether it actually has a February 29.
Is a day-of-year number the same as an astronomical Julian Day?
No. A day-of-year number restarts at January 1 each year. Astronomical Julian Day is a continuous count with a different reference and integer boundary. Check a dataset’s field definition before substituting one value for the other, even when its date-code terminology is abbreviated.
What day of year is March 1 in leap and common years?
January has 31 days. February adds 28 in a common year and 29 in a leap year. March 1 is day 60 in the former and day 61 in the latter.
Is December 31 day 365 or day 366?
December 31 is day 365 in a common year and day 366 in a leap year. Keep the year with the ordinal number when converting it back into a calendar date.