Days ago from today: what date was it X days ago?
Find the date a number of days ago, counting back from today or from any other date. Or turn it around: enter a past date and see how many days, weeks and months ago it was.
Days ago calculator
I want to know the date 30 days before December 5, 2026.
Answer
Thursday, November 5, 2026
30 days before Saturday, December 5, 2026 was Thursday, November 5, 2026.
- 11/05/2026Date
- ThursdayWeekday
- Week 45US week number
- 4 weeks and 2 daysIn weeks
How we counted
You are counting back in time, so the answer is on the left. Each segment is one month of the count.
- Start on Saturday, December 5, 2026. Count 4 days in December (total 4).
- Count 26 more in November to reach 30: that is Thursday, November 5, 2026.
Read the table from top to bottom: it starts at the date you count from and goes back in time. Each row is one month with the days counted in it and the running total, until the total reaches your number of days.
| Month | From | To | Days counted | Running total |
|---|---|---|---|---|
| Dec 2026Dec 4–1 | Dec 4 | Dec 1 | 4 | 4 |
| Nov 2026Nov 30–5 | Nov 30 | Nov 5 | 26 | 30 |
How to use the days ago from today calculator
- Date format: choose how dates are written, at the top of the calculator. The answer, the table and the timeline follow it, and your choice is remembered.
- What do you want to know?: pick Date X days ago to find a date, or Days since a date to count how long ago a date was. Switching keeps the same past date.
- Days ago: drag the slider up to 365, type any whole number up to 36,500, or tap a quick pick such as 30 or 90 days.
- Which days count: choose Calendar days to count every day, or Business days to skip Saturdays and Sundays.
- Past date: in the days since mode, type the date you want to count from, such as a purchase or a start date. The calendar button opens a date picker.
- Counting from: today is filled in. Change it to count back from another date, for example the day a deadline ended.
When to count days ago from today
Look back a set number of days: the start of a 30-day return window, the date 90 days ago for a lookback period on a form, 14 days ago for a symptom timeline, or 7 days ago to find last week’s receipt. Business days help when a rule says "within 10 business days" and you need to know when that period began.
Switch to Days since a date to see how long ago something happened: the days since you started a job, quit a habit, moved house or bought something under warranty. For dates in the future, use the days until calculator or days from today; for months instead of days, months from today counts back too.
Days ago from today at a glance
What it does
Subtracts a number of calendar or business days from today, or counts the days, weeks and months since a past date.
Who it's for
Anyone checking a return window, a lookback period, a deadline that has passed, or how long ago something happened.
Watch out for
Today is day 0. Business days skip weekends but not holidays, and 30 days ago is not always the same date as a month ago.
How counting days ago from today works
The rule: subtract the days from today’s date. Today is day 0, so 1 day ago is yesterday and 7 days ago is the same weekday last week. The count goes back through month ends and leap days, so every month has its real number of days.
With your numbers: December 5, 2026 − 30 days = November 5, 2026.
With business days, only Monday to Friday are counted: start at today and step back one weekday at a time, skipping Saturdays and Sundays. Ten business days are two full weeks back. Holidays are not skipped; for a count that leaves out federal holidays, use the business days calculator.
The other way round, the number of days ago is today minus the past date. The months and days are counted the way people say it: a month is complete once the same day of the month comes round again, so October 31 to November 30 is 30 days, not a month. For a date in the future, use the days from today or days until calculator, and for any two dates the days between dates calculator.
Days ago from today: worked examples
What date was it 30 days ago from November 30, 2026?
Count back the 30 days of November: that lands on Saturday, October 31, 2026.
Common mistake: assuming 30 days ago is the same date last month (October 30). November has 30 days, so the count ends one day later, on October 31.
What date was it 10 business days before Monday, November 30, 2026?
Ten weekdays are two full weeks back: Monday, November 16, 2026, which is 14 calendar days.
Common mistake: counting today as the first business day, or skipping only the weekends between and still counting 10 calendar days. That gives November 20.
How many days ago was January 1, 2026, counted from November 30, 2026?
333 days ago: 47 weeks and 4 days, or 10 months and 29 days. 237 of those days are weekdays.
Common mistake: adding 1 to count both days. Days ago is a difference: yesterday was 1 day ago, not 2.
What date was it 1,000 days ago from November 30, 2026?
The count crosses the leap day of February 29, 2024 and lands on Tuesday, March 5, 2024.
Common mistake: using 365 days per year (1,000 days ≈ 2 years and 270 days). The leap day moves the answer by one day.
Days ago from today in Excel and Google Sheets
Excel and Google Sheets store dates as day numbers, so subtracting days works directly. Put the past date in A2 and the number of days in B2, and format date answers as a date.
Read the table row by row: each row is one cell of your sheet, what to put in it and an example.
| Cell | What goes in it | Example |
|---|---|---|
| A2 | Past date (for "how many days ago") | 1/1/2026 |
| B2 | Number of days ago | 30 |
| C2 | Answer (matches your choices above) | =TODAY()-B2 |
Date X calendar days ago
=TODAY()-B2 Date X business days ago
=WORKDAY(TODAY(),-B2) How many days ago a date was
=TODAY()-A2 Business days since a date
=NETWORKDAYS(A2+1,TODAY()) Whole months and days ago
=DATEDIF(A2,TODAY(),"m")&" months, "&DATEDIF(A2,TODAY(),"md")&" days" TODAY() changes every day, so the answer updates when the file is opened. Format "how many days ago" cells as a number, not a date. WORKDAY and NETWORKDAYS take an optional holiday list as the last argument.
Days ago from today: frequently asked questions
What date was it 30 days ago?
30 days before today, December 5, 2026, was Thursday, November 5, 2026. A month ago by the calendar can differ by a day or two, because months have 28 to 31 days.
Does "days ago" count today?
No. Today is day 0, so 1 day ago is yesterday and 7 days ago is the same weekday last week. This is how spreadsheets count too: =TODAY()-7.
Is 30 days ago the same as a month ago?
Not always. Months have 28 to 31 days, so a month ago is the same day of last month, while 30 days ago can be a day or two off. For months use the months from today calculator and choose Before.
Why does it say 30 days but 0 months from October 31 to November 30?
A month counts as complete only when the same day of the month comes round again. November has no 31st, so October 31 to November 30 is 30 days, not a whole month. Excel’s DATEDIF and other date calculators count the same way.
Do business days skip holidays?
No, business days here skip only Saturdays and Sundays. To also leave out federal holidays, use the business days calculator.
How far back can I count?
Up to 36,500 days, about 100 years. Leap years are counted, so 36,500 days before November 30, 2026 is December 25, 1926.
Other date and time calculators
- Age calculator
- Birthday countdown
- Business days calculator
- Date calculator
- Day of the week calculator
- Day of the year calculator
- Days between dates
- Days from today
- Days until a date
- Hours between two times
- Hours from now
- Hours worked calculator
- Military time converter
- Minutes to hours converter
- Months between dates
- Months from today
- Overtime calculator
- Time calculator
- Time card calculator
- Week number calculator
- Weeks between dates
- Weeks from today
Report a problem with this calculator · Sponsor this calculator