The Digital Clock

    Date Calculator

    Quickly find out what date was 30 days ago, or what date is 2 months from today. Add or subtract days, weeks, months, or years instantly.

    Methodology: Gregorian calendar math in your browser · Content last reviewed: 7 August 2026

    Calculate a Date

    The resulting date will be

    Wednesday, September 2, 2026

    What was the date 30 days ago?

    One of the most common questions is calculating 30 days into the past for invoices, warranties, or project timelines. Using the calculator above, set the offset to 30 days in the past to see the exact date. Because months have varying lengths (28, 30, or 31 days), 30 days ago is rarely exactly one calendar month ago.

    How to calculate months from today

    When you change the unit to “Months,” the calculator adjusts for leap years and the number of days in each month. For example, to learn what date is 2 months from today, enter “2,” select “Months,” and choose the forward direction.

    Need days since a specific year instead?

    For a live count of how many days have passed since January 1 of a known year, open a dedicated days-ago page:

    Frequently asked questions

    How does this date calculator work?

    Enter a starting date (or use today), choose how many days, weeks, months, or years to add or subtract, and the calculator returns the resulting calendar date. Month and year math accounts for different month lengths and leap years.

    Does the date calculator include leap years?

    Yes. When you add or subtract months or years, or when a day span crosses February 29 in a leap year, the result follows standard Gregorian calendar rules in your browser’s date library.

    What was the date 30 days ago?

    Thirty days ago is not always “one month ago,” because months have 28–31 days. Use the calculator with 30 days in the past direction to see the exact calendar date for today.

    How is this different from “how many days ago was 2020”?

    The days-since-2020 page answers one fixed start date with a live day count. This date calculator answers custom ranges—any start date and any offset—so you can compute invoices, warranties, or project timelines.

    Related tools