Method
How the date calculator works
Days, weeks and hours use elapsed duration. Months use calendar-month arithmetic and clamp to the final valid day when the target month is shorter.
Counting clock time within a day rather than calendar days? The hours calculator measures the hours and minutes between two times, the time card calculator totals a week of shifts, the add time calculator adds or subtracts durations, and the military time converter switches between 24-hour and AM/PM times. The rest are in the time calculators collection.
Example
Date calculator example
Adding one month to 31 January reaches the last valid day of February rather than creating an impossible date.
Rule
Exact rule used by the date calculator
Days, weeks and hours are added as fixed lengths of elapsed time: a day is 24 hours, a week is 168. They are applied to the moment you entered in your browser's time zone. Months follow the calendar instead. The calculator moves to the first of the month, shifts the month number, then restores the original day, limited to the last day of the target month.
A negative amount subtracts. The month rule is applied to one step at a time, so adding one month twice is not always the same as adding two months at once.
Step by step
Worked through step by step
Forty-five days after 09:00 on 15 January 2026 is 09:00 on Sunday 1 March 2026. Two weeks before 09:00 on 2 March 2026 is 09:00 on Monday 16 February 2026. Thirty-six hours after 09:00 on 2 September 2026 is 21:00 on 3 September 2026.
Month arithmetic clamps to the end of the month. One month after 31 January 2026 is 28 February 2026, and after 31 January 2024 it is 29 February 2024. Twelve months after 29 February 2024 is 28 February 2025, and one month before 31 March 2026 is 28 February 2026. Chaining matters: 31 January plus one month is 28 February, and another month then gives 28 March, while adding two months in one step gives 31 March.
Pitfalls
Common mistakes with the date calculator
- Using 30 days as a month. From 31 January 2026, 30 days lands on 2 March, while one calendar month lands on 28 February.
- Assuming a wall-clock time survives a clock change. Because a day is 24 elapsed hours, 12:00 on 7 March 2026 plus one day reads 13:00 on 8 March in New York, where clocks moved forward that morning. In India the same addition stays at 12:00.
- Expecting weekends to be skipped. Use the business days calculator to count weekdays.
- Entering the unit last. Check the unit before reading the result, since the same amount of 90 means very different things in days, weeks and months.
FAQ
Date calculator FAQ
How do I subtract time?
Enter a negative amount.
Are days calendar days?
Yes. Use the business-days calculator when weekends must be excluded.
How are months handled?
The calendar month changes first, then the day is limited to the target month’s final date.
Why did adding one month to the 31st not land on the 31st?
Not every month has a 31st. The calculator keeps the month rule consistent by using the last valid day of the target month, so 31 January plus one month is 28 February in 2026.
Does adding days respect daylight saving time?
It adds 24-hour blocks of real elapsed time. In a zone that changes its clocks, the displayed clock time can shift by an hour across the change, even though the elapsed duration is exact.