Ordinal day
Day of Year Converter
Convert a calendar date to its day-of-year number (1–366) and back.
Day of year
Pick a date, or enter a day number and year.
Filling in the day-of-year number takes priority. Clear it to convert from the calendar date instead. For a full table of every day in a year, see Day Numbers.
Every calendar date has a matching day-of-year number, a sequential count from 1 on January 1 to 365 (or 366 in a leap year) on December 31. This converter works in both directions: enter a calendar date to find its day-of-year number, or enter a day-of-year number and a year to find the matching calendar date. It is a small but frequently needed conversion in logistics, manufacturing, programming, and any system that timestamps records with an ordinal day count instead of a month-and-day pair.