How many days until the holiday, the exam or the wedding? Counting is easy when the dates are close, and surprisingly easy to get wrong when they are not. This guide shows three methods you can do in your head or on paper, and the traps to watch for.
- Count the days left in the month, add the full months, then the days in the target month.
- From March 1 to May 17 is 77 days.
- Periods that contain February 29 are one day longer.
Method 1: count the months, then adjust
The quickest way for a date within a year is to move month by month. Start from the day of the month you are on, count the days left in that month, then add the full months in between, and finally add the day number of the target date.
Take the example of counting from March 1 to May 17 in 2027. March has 31 days, so March 1 to April 1 is 31 days. April has 30 days, so April 1 to May 1 is 30 days. Then add 16 days to reach May 17. The total is 31 + 30 + 16 = 77 days. A calendar count gives the same answer.
Method 2: use day numbers within the year
Every date has a day number in its year, from 1 on January 1 to 365 (or 366) on December 31. If you know the day number of two dates in the same year, you subtract them. The cumulative days at the start of each month in a normal year are 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304 and 334.
For example, May 17 is day 120 + 17 = 137, and March 1 is day 59 + 1 = 60 in a normal year. The difference is 137 − 60 = 77 days. In a leap year, add one to every number from March onwards, and the difference between two dates that are both after February 29 stays the same.
Method 3: use weeks for long periods
Weeks are useful when the answer should be given as weeks and days. Divide the number of days by 7. 77 days is exactly 11 weeks. 100 days is 14 weeks and 2 days. Planning in weeks also makes it easy to work out which weekday the date falls on: after a whole number of weeks the weekday is the same, and every extra day moves it one weekday forward.
Leap years change the answer
If the period contains February 29, the count is one day longer. From January 15 to March 15 is 59 days in 2027 and 60 days in 2028. A leap year is any year divisible by 4, except years divisible by 100 that are not divisible by 400. Check whether the period crosses the end of February in a leap year before you trust a quick count.
Do you count today?
Counting rules differ. The difference between two dates, such as January 1 and January 10, is 9 days. If you count both end days, you get 10 days. Neither is wrong, but you have to know which one you need. For a countdown, the difference is normal: if the event is on the 10th and today is the 1st, there are 9 days to go. For a deadline that includes both the start and end day, such as a hotel booking, you count nights instead: arrival on the 1st and departure on the 10th is 9 nights.
Legal and contract deadlines often have their own rules about whether the first day is counted, so always check the wording.
Working days are different
If the deadline is in working days, remove weekends and public holidays. As a rough estimate, five out of every seven days are weekdays. A period of 28 days has 20 weekdays, and any public holiday on a weekday takes one more away. The guide to working days and quarters has the numbers for Norway.
Common mistakes
- Forgetting that different months have different lengths.
- Forgetting February 29 in a leap year.
- Mixing up counting the difference and counting both end days.
- Ignoring time zones when the event is in another country: an event that starts at midnight in Sydney is the day before in Oslo.
- Counting from the wrong year when the target date has already passed this year.
Let the tool do it
For anything important, calculate by hand once to understand it, then check with a tool. The days between dates calculator on this site follows the full leap-year rules and shows the result in days, weeks and months, and the countdown pages show how long it is to common dates such as Christmas and the Norwegian national day.