Date Arithmetic — Adding and Subtracting Time
Adding or subtracting days from a date is essential for calculating deadlines, due dates, payment schedules, subscription renewals, and project milestones. This calculator handles days, weeks, months, and years — and shows the day of the week of the result.
Month and year arithmetic is more complex than day arithmetic because months have different lengths. Adding 1 month to January 31 gives February 28/29 (last day of February), not March 3. Our calculator handles these edge cases correctly.
How Date Arithmetic Works
Add N days: Result = Start + N × 86,400,000 ms
Add N months: Advance month by N, clamp to last day if needed
Add N years: Advance year by N, handle Feb 29 in non-leap years
Common Date Calculations
| Calculation | Use Case |
|---|---|
| Today + 30 days | Net-30 payment terms |
| Today + 90 days | Quarterly deadlines |
| Date + 14 days | Two-week notice period |
| Date + 1 month | Monthly subscription renewal |
| Date − 2 weeks | Prep deadline before event |