How it works
January 1 is day 1. Leap years have 366 days; common years have 365. The ordinal date uses YYYY-DDD, with a three-digit day number. Days remaining excludes the selected date.
Worked example
February 29, 2024 is day 60, written 2024-060. December 31, 2024 is day 366 with no days remaining.
Before you rely on the result
Ordinal dates are sometimes called Julian dates on labels, but they are different from astronomical Julian dates. Day 366 is only valid in a leap year.
Cite this page
ToolOctopus. “Day of the year calculator.” Updated . https://tooloctopus.com/day-of-the-year-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.