Day of Year
Find the day count of any date within its year in your browser. Leap-aware ordinals, exact worked example included.
What this day of year does
The page counts the day ordinal inside the year for every date you paste: 2026-03-01 prints as Day 60 of 2026, while the leap day 2024-02-29 prints as Day 60 of 2024 and 2024-12-31 prints as Day 366 of 2024. A line that is not YYYY-MM-DD is refused with its line number and the expected form. The visitor timezone can never move a result because every date is a UTC civil date.
How to use it
Day of Year: paste the date into the box above, and press Run to get the day ordinal below.
Worked example
Input:
2026-03-01
Output:
Day 60 of 2026
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads date and returns day ordinal; reloading the page discards both.
The page counts the day ordinal inside the year for every date you paste: 2026-03-01 prints as Day 60 of 2026, while the leap day 2024-02-29 prints as Day 60 of 2024 and 2024-12-31 prints as Day 366 of 2024. A line that is not YYYY-MM-DD is refused with its line number and the expected form. The visitor timezone can never move a result because every date is a UTC civil date.
Find the day count of any date within its year in your browser. Leap-aware ordinals, exact worked example included.
How to use it
Day of Year: paste the date into the box above, and press Run to get the day ordinal below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads date and returns day ordinal; reloading the page discards both.
What to Expect
Best for
- Converting date to day ordinal when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
2026-03-01
Sample output
Day 60 of 2026
Frequently asked questions
How do I use the day of year?
Day of Year: paste the date into the box above, and press Run to get the day ordinal below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.