90 days from a date
Paste a small example into the tool and change one part at a time.
Friday, February 19, 2027. The ISO date is 2027-02-19, it is day 50 of the year and in week 7 of 2027. The 90 days quick pick fills in the same amount.
Pick a start date, then add or take away years, months, weeks and days. The new date comes with its weekday, day of the year and week number.
Last updated
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
Days and weeks are easy to add, because they always have the same length. Months and years do not. The tool adds the years and months first, then the weeks and days, the same order Python's dateutil uses. When the day does not exist in the month you land in, such as January 31 plus one month, the date moves to the last day of that month, February 28, and a note under the result tells you.
That is why 90 days and 3 months give different answers. 90 days after November 21, 2026 is Friday, February 19, 2027, while 3 months after it is February 21. For notice periods, trial periods, warranties and return windows, use the unit the rule is written in.
Today comes from your device's own clock and time zone, so it is your today, wherever you are. The start date can be any day from 1900 to 2100. To count the days between two dates you already know, use the days between dates calculator instead.
It starts on today. Change the day, month or year, or press Today to go back to it.
Add moves forward in time and shows The new date. Subtract moves back and shows The earlier date.
Type years, months, weeks and days in any mix; an empty box counts as 0. Or press 30, 60, 90, 100 or 180 days under Quick picks.
It comes with its weekday, the ISO date, the days from the start date, the day of the year and the ISO week number.
What the quick picks come to in weeks, and how they compare with months and years.
| Add | In weeks and days | Compare with |
|---|---|---|
| 30 days | 4 weeks and 2 days | 1 month is 28 to 31 days |
| 60 days | 8 weeks and 4 days | 2 months are 59 to 62 days |
| 90 days | 12 weeks and 6 days | 3 months are 89 to 92 days |
| 100 days | 14 weeks and 2 days | 3 months and 8 to 11 days |
| 180 days | 25 weeks and 5 days | 6 months are 181 to 184 days |
| 365 days | 52 weeks and 1 day | 1 year is 365 or 366 days |
Paste a small example into the tool and change one part at a time.
Friday, February 19, 2027. The ISO date is 2027-02-19, it is day 50 of the year and in week 7 of 2027. The 90 days quick pick fills in the same amount.
Copy the original value, run the tool, then compare the result.
Sunday, February 28, 2027, 28 days from the start date. February has no 31st, so the date moves to the month's last day and a note says so. In a leap year it would be February 29.
Take a value from your own work and use this tool to inspect or prepare it.
Monday, January 18, 2027, 42 days earlier. A week is always 7 days, so subtracting weeks never needs the month rule.
from datetime import date, timedeltafrom dateutil.relativedelta import relativedelta
print(date(2026, 11, 21) + timedelta(days=90)) # 2027-02-19print(date(2027, 1, 31) + relativedelta(months=1)) # 2027-02-28print(date(2027, 3, 1) + timedelta(weeks=-6)) # 2027-01-18print(date(2027, 2, 19).strftime("%A")) # Fridaytimedelta handles days and weeks, which never change length, and a negative one goes back in time. relativedelta handles months and years and lands on the last day of a shorter month, the same rule the tool uses.
Leave the start date on today and press 90 days. The answer changes every day, so the tool works it out from your device's date rather than printing one here.
Enter the start date, keep Add selected and type the number of days. You can mix in weeks, months and years too.
Switch to Subtract and type the amount. The answer appears as The earlier date.
February 28, or February 29 in a leap year, because February has no 31st. The page shows a note when the day had to move.
No. Adding 1 day to Monday gives Tuesday. If your rule counts the start day as day 1, add one day less.
Years and months first, then weeks and days. This matches relativedelta in Python's dateutil.
The ISO 8601 week: weeks start on Monday, and week 1 is the week with the year's first Thursday. The week number page also shows US weeks.
The start date can be any day from 1900 to 2100, and the result can land far outside that range, from the year 1 to 9999.