Days Ago Calculator
Name a past calendar date by walking a whole number of days backward from today — or from any start date you type. This page only subtracts; it will not project a future date.
How to use
- Keep today’s date, or set the start to the day you are counting back from (a report date, a receipt, a court filing).
- Enter how many days ago. The value is truncated to a whole number.
- Read the past date. The weekday comes with the calendar date, not from a clock.
- If you need a date in the future, switch to Days From Today and add instead. To measure a span you already know both ends of, use Days Between Dates.
How it works
“What date was it 90 days ago?” is a calendar question. Subtracting 90 days from 1 April lands in early January, crossing February with the correct length for that year. The tool does not subtract 90 × 24 hours from “now,” so an evening in one time zone cannot roll the answer onto the previous civil day.
Unlike Days From Today, there is no add direction here. The only walk is backward. That matches how people ask the question: a cooling-off period that already started, a “last 30 days” chart, a vaccine dose that was given N days before a travel date. If you accidentally need a future landing date, this page is the wrong tool on purpose.
Leap days are real. One day before 1 March 2024 is 29 February 2024. One day before 1 March 2023 is 28 February 2023. Month lengths are taken from the Gregorian calendar, not a 30-day bank month. Invalid starts such as 31 April are rejected rather than overflowed.
Weekends stay in the count. Thirty days ago from a Monday is still a calendar walk through Saturdays and Sundays. Public holidays are ordinary days here. Business Days answers a different question — how many Mondays through Fridays sit in a range — and still does not subtract national holidays.
The start defaults to the browser’s local calendar date so “days ago from today” needs no typing. Change it when the reference day is not today: “14 days before the invoice date,” “7 days before the exam.” Time of day is ignored; for hours and minutes use Time Duration.
Formula
Result date = Start date − Number of days
Worked examples
10 days before 5 March 2024
2024-03-05 − 10 days → February 24, 2024
1 day before 1 March 2024
2024-03-01 − 1 day → February 29, 2024
Useful notes
- Subtract only. There is no “add days” control on this page.
- The start date defaults to today in your browser; change it to count back from any other day.
- Leap years are included automatically — February has 29 days when it should.
FAQ
- What date was it 30 days ago?
Leave the start date as today and enter 30. The result is the calendar date 30 days before that start date, including the weekday.
- Does this skip weekends?
No. It counts every calendar day. Use the business days calculator if you only want weekdays.
- Will the result jump because of my time zone?
No. The calculation uses calendar dates only, so evening in one zone does not roll the answer into a different day.
- Can I add days instead of subtracting?
Not on this page. Use Days From Today and choose “From now (add days).” This calculator is subtract-only so the question stays “what date was it N days ago.”
- Is 1 day ago yesterday?
Yes, if the start is today. One calendar day back is the previous civil date, including across month and year boundaries and leap days.
Guides
Related tools
See all Date & Time tools.