Date calculator

Friday, October 2, 2026
Today in Brasília2026-10-02

Add or subtract days, weeks, months and years to any date and read the result with its weekday, ISO week and day of year. You can also find out what the date was N days ago.

What was the date N days ago?

How the date calculator works

Enter a start date, choose whether to add or subtract, and fill in any mix of years, months, weeks and days. The calculator applies years and months first and weeks and days afterwards, then shows the result with its weekday, ISO week number and day of the year. "Today" always means the date in Brasília according to the site clock, so the starting point is right no matter where you are.

The end-of-month rule

Months have different lengths, so adding months can land on a day that does not exist. The calculator then clamps to the last day of the target month. Examples: January 31 + 1 month = February 28 (February 29 in a leap year); March 31 − 1 month = February 28 or 29; August 31 + 1 month = September 30. Adding 12 months to February 29, 2028 gives February 28, 2029. This is the same convention used by spreadsheets and most programming languages.

Adding days is not the same as adding months

"90 days" and "3 months" are different amounts. From January 31, 2027, 90 days ends on May 1, while 3 months ends on April 30 (the clamped month end). For contracts, check whether the text says days or months, because it decides the deadline.

Common uses

ISO week and day of the year

The ISO week starts on Monday, and week 1 is the one containing the first Thursday of the year. This is why December 29 can be week 1 of the next year and January 1 can be week 52 or 53 of the previous one. The day of the year counts from 1 on January 1 up to 365 (366 in leap years). Both are common in planning, payroll and logistics; a dedicated page lists the week number of the year.

To count the interval between two dates instead, use days between dates; for a live countdown to an event, see the countdown.

Frequently asked questions

How do I add days to a date?

Choose the start date, leave the operation on "Add", enter the number of days and read the result with its weekday. Today + 90 days = Thursday, December 31, 2026.

What happens when I add 1 month to January 31?

Since February has no 31st, the calculator clamps to the last day of the month: January 31, 2027 + 1 month = February 28, 2027 and, in a leap year, January 31, 2028 + 1 month = February 29, 2028.

How do I find the date N days ago?

Use the "What was the date N days ago" section or choose "Subtract" in the calculator. The starting date can be today (Brasília time) or any other.

What is the ISO week?

It is the week numbering of ISO 8601: weeks start on Monday and week 1 is the one containing the year's first Thursday. Some days in early January can belong to week 52 or 53 of the previous year.

Can I add weeks and months at the same time?

Yes. Fill in years, months, weeks and days together. The calculator first adds years and months (clamping to the month end) and then weeks and days.

Does the calculator use my time zone?

No. Dates are treated as calendar dates with no time of day, and "today" comes from the server clock in Brasília time. That way daylight saving time never changes the result.