How to Add Days to a Date
- Choose the start date. It starts as today.
- Leave the setting on Add, or switch it to Subtract to go back in time.
- Type the amount in the days box, or use a quick button such as 30 or 90 days.
- Read the new date. It updates as you type, so you can try different amounts.
You can fill several boxes at once. For example, 1 year, 2 months and 10 days adds all three in one step.
How Months and Years Are Added
Days and weeks have a fixed length, but months do not, so the calculator works in two steps. It adds the years and months on the calendar first, then adds the weeks and days. If the day number does not exist in the new month, the result moves to the last day of that month. January 31 plus one month is February 28, or February 29 in a leap year.
Calendar Days or Business Days?
This page counts every day, including weekends. Contracts, deliveries and notice periods are often measured in working days instead, which skips Saturdays and Sundays and sometimes holidays. For that, use the Business Days Calculator.
Handy Reference
| Days | About |
|---|---|
| 7 | 1 week |
| 30 | Roughly 1 month |
| 90 | Roughly 3 months, about one quarter |
| 180 | Roughly 6 months |
| 365 | 1 year (366 in a leap year) |
Add Days to a Date in Excel, SQL and Code
// Excel or Google Sheets (date in A1) =A1+30 // add 30 days =EDATE(A1,3) // add 3 months =WORKDAY(A1,10) // add 10 working days -- SQL Server SELECT DATEADD(day, 30, GETDATE()); -- MySQL SELECT DATE_ADD(NOW(), INTERVAL 30 DAY); -- PostgreSQL SELECT now() + interval '30 days'; # Python from datetime import date, timedelta date.today() + timedelta(days=30) // JavaScript const d = new Date(); d.setDate(d.getDate() + 30);
Programs often store dates as a single number of seconds. If you need to turn such a value into a readable date, use the Unix Timestamp Converter.