Day of Year
Enter a date and read the day number.
About this tool
January 1 is day 1. Leap years include February 29.
The date is a calendar date.
How to use it
- Open this page and provide the input it asks for.
- Set the options that are visible, then use Find day.
- Read the result in the panel. Copy it or download it when a file is offered. The input stays in this browser.
Limitations
- The date is a calendar date.
The ordinal starts at 1 on 1 January
Inclusive of the date you typed
The field is an ISO calendar date, checked at UTC midnight. If the date cannot exist, it is rejected and no ordinal is invented. For a valid date the page takes UTC midnight on 1 January of that year, subtracts it from the date, divides by 86400000, floors, and adds 1. 1 January is day 1. 2 January is day 2. The add-one is what makes the number inclusive of the date in hand. A raw midnight subtraction without that add would report 0 for 1 January, which is the span from the start of the year, not the ordinal people mean by day of year.
31 December is 365 in a common year and 366 in a leap year. The leap day is included once it has occurred. 1 March 2023 is day 60. 1 March 2024 is day 61. Every date after 29 February moves up by one in a leap year, and dates in January and on 28 February do not. 29 February 2024 itself is day 60. You cannot ask for 29 February 2023. The date check fails first.
How this differs from a week number and a day count
The ordinal does not reset on Monday. ISO week 1 can start in the previous calendar year, while day 1 is always 1 January of the year printed on the date. A week number and this ordinal answer different questions and will not match. A difference between 1 January and your date is one smaller than this ordinal, because the difference counts midnights between them and this page counts the arrival date too. If a form asks for the day number starting at 1, use this page. If it asks how many days have elapsed before today, subtract 1.
The output reads as day N of the UTC year. There is no time of day, so a local evening that is already the next UTC date should be converted to the UTC civil date before you paste it. Otherwise you will number the neighboring date. The page does not print the weekday beside the ordinal. Chain the same ISO date into the weekday page when you need both.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

