Day of the Year Calculator
Day number of a date, and the date of a day number.
Find what day of the week any date falls on, from the year 1000 to 9999. The day of the week calculator also shows that date's weekday in each of the next 10 years.
The calculator counts the days between your date and January 1, 1970, a Thursday, and takes the remainder after dividing by 7:
weekday = (days since 1970-01-01 + 4) mod 7 (0 = Sunday)
Days are counted in the proleptic Gregorian calendar, with leap years included.
January 1, 2000 comes out as a Saturday, day 1 of the year but ISO week 52, because that week belongs to 1999. The table below the result lists the weekday of the same date for the next 10 years. This example is one of the automated tests for the tool, so a code change that gives a different answer fails the test run.
365 days is 52 weeks and 1 day, so a date usually falls one weekday later the next year. After February 29 in a leap year it moves by two. The pattern of weekdays repeats every 400 years.
Enter your date of birth and the calculator shows the weekday.
A Saturday.
For dates after 1582 in countries using the Gregorian calendar, yes. Earlier records often used the Julian calendar.
Often used together with Day of the Week Calculator.
Day number of a date, and the date of a day number.
Whether a year is a leap year, with nearby leap years.
Gives an exact age in years, months, and days from a date of birth.