Days From/To Today Calculator

Free online days from/to today calculator: pick any past or future date to see how many days ago it was or how many days from today it is, along with weeks, days, and weekday details.

Target date

How Many Days Until, or Since, Any Date?

“How many days until the exam?” “How long has it been since we moved?” “Is the return window still open?” Questions like these sound simple, but counting across month ends, leap years and different month lengths is exactly where mental arithmetic slips. This calculator does the counting for you. Pick any date, from the past or the future, and it tells you how many days away that date is from today, how that breaks down into weeks and days, and which day of the week it falls on.

Important: the calculator counts plain calendar days, using the date on your own device as “today.” It is not designed for legal, contractual or official deadlines, which often have their own counting rules, such as excluding weekends or public holidays. For anything that matters, check the rules that apply to your situation with the organisation involved or a qualified professional.

It runs in your browser, looks fine on a phone, tablet or computer, and doesn’t ask you to sign up.

How to Use It

  1. Choose the day, from 1 to 31, in the first list.
  2. Choose the month in the second list.
  3. Choose the year in the third list. It runs from 1900 up to 100 years beyond the current year, with the furthest future year at the top. On a computer you can click the list and type the year, for example 2028, to jump straight to it.
  4. Press Calculate days (or press Enter). Your results appear right underneath.
  5. Share it or change the look. The round icons send the page by WhatsApp, Facebook, X, LinkedIn, Telegram or email, or copy its link. The coloured squares change the background, and the arrows icon opens full screen.

If any of the three lists is left empty, you’ll see a message asking for a full date. If you pick a date that doesn’t exist, such as 31 June or 30 February, the calculator tells you so instead of guessing.

What the Results Show

Two large boxes give the headline answer. The first shows the number of days between today and your date, always as a positive number. The second tells you the relation to today: “From today” if your date is in the future, “Ago” if it is in the past, or “Today” if it’s today. Below them is a short list:

  • Summary: the same answer in a sentence, such as “15 days from today” or “78 days ago.”
  • Weeks & days: the same gap split into whole weeks and leftover days.
  • Target date: your chosen date written out with its weekday.
  • Today’s date: the date the calculator used as today, with its weekday, so you can check it matches what you expect.

How the Days Are Counted

  1. Today is read from your device. The calculator takes the date shown on your phone or computer, using your local time zone and ignoring the time of day.
  2. Both dates become midnight on a fixed clock. Your date and today’s date are each converted to midnight UTC. This avoids a classic bug: in places that change their clocks for daylight saving, some days last 23 or 25 hours, which can make a naive calculation come out one day off.
  3. Subtract and divide. The difference in milliseconds is divided by the length of a day (86,400,000 ms) and rounded to a whole number.
  4. The sign decides the label. A positive difference means the date is in the future, a negative one means it’s in the past, and zero means today.
  5. Weeks and days. The number of days is divided by 7. The whole part is the weeks, and the remainder is the days.

Two points are worth knowing. First, the count is the difference between the two dates, so today to tomorrow is 1 day, not 2. Second, because “today” comes from your device, someone in a different time zone can see a different answer at the same moment, and a device with a wrong clock will give a wrong answer.

Worked Examples

The examples below use fixed dates, so they stay correct whenever you read them. Imagine the calculator’s “today” is the date given in each case.

A date in the future

Today is Thursday 10 June 2027 and the target date is 25 June 2027.
Difference = 15 days from today, which is 2 weeks, 1 day. The target date falls on a Friday.

A date in the past

Today is 20 March 2027 and the target date is 1 January 2027.
January contributes 31 days, February 28 and the first 19 days of March bring the count to 31 + 28 + 19 = 78 days ago, which is 11 weeks, 1 day. The target date was a Friday.

The same day

If you pick today’s own date, the first box shows 0 days, the second box says Today, and the weeks & days line reads 0 weeks, 0 days.

A leap year at work

From 28 February 2027 to 1 March 2027 is 1 day. From 28 February 2028 to 1 March 2028 is 2 days, because 2028 has a 29 February. In the same way, 1 January 2027 to 1 January 2028 is 365 days, while 1 January 2028 to 1 January 2029 is 366 days.

Counting Conventions That Change the Answer

The same pair of dates can honestly produce different numbers depending on how you count. Take Monday 1 March 2027 and Friday 5 March 2027:

Way of countingResult
Calendar difference (what this calculator shows)4 days
Including both the first and last date5 days
Working days, Monday to Friday, counting both ends5 days

Everyday phrases like “within 30 days” or “for a 14-day trial” don’t always say which method applies, and rules for returns, subscriptions, notice periods or official deadlines can differ. If you need to count the start date as day one, add 1 to the calculator’s number. If the rule counts only working days, the calculator’s figure will be too high.

Leap Years and Month Lengths

Most months are 30 or 31 days long, February is the odd one out, and an extra day is added to February roughly every four years. The calculator handles all of this automatically, but it helps to know the pattern:

MonthDaysMonthDays
January31July31
February28 (29 in a leap year)August31
March31September30
April30October31
May31November30
June30December31

A year is a leap year if it divides evenly by 4, except that years ending in 00 are leap years only if they divide evenly by 400. So 2028 is a leap year, 2000 was a leap year, but 1900 and 2100 are not. Both of those special years are inside the calculator’s year range, and it treats them correctly.

Common Day Counts in Weeks

Here is how some popular round numbers of days convert into weeks and days, which is also how the calculator displays them:

DaysWeeks & days
71 week, 0 days
304 weeks, 2 days
608 weeks, 4 days
9012 weeks, 6 days
10014 weeks, 2 days
18025 weeks, 5 days
36552 weeks, 1 day
1,000142 weeks, 6 days

The calculator does not convert days into months or years, because those units are different lengths. “30 days” is not always “one month.”

Working Out the Weekday Yourself

There’s a neat trick behind the weekday shown in the results. Weekdays repeat every 7 days, so you only need the remainder when you divide the number of days by 7. If today is a Wednesday and your date is 10 days away, 10 ÷ 7 leaves a remainder of 3, so the date falls three weekdays after Wednesday: a Saturday. For a past date, count backwards in the same way. A date 14 days away always falls on the same weekday as today, because 14 is an exact number of weeks.

Everyday Uses

  • Countdowns: exams, holidays, weddings, birthdays, product launches or the end of a school term.
  • Time since an event: how long ago you moved, started a job, quit a habit or last saw a friend.
  • Return and trial windows: a quick check of how many days have passed since a purchase or sign-up, remembering the counting conventions above.
  • Document and passport planning: how many days remain until an expiry date.
  • Project planning: a rough sense of how many weeks remain before a deadline.
  • Milestones: finding the date of a 100-day or 1,000-day anniversary, by trying dates until the count matches.
  • Habit streaks and challenges: how many days into a 30-day or 90-day goal you are.

What the Calculator Does Not Check

It answers one question, “how many calendar days from or to today,” and nothing else. It does not:

  • count only working days, or skip weekends and public holidays,
  • measure hours, minutes or the time of day,
  • use any time zone other than your device’s,
  • break a gap into months and years,
  • apply the rules of any particular contract, court, school or government office,
  • handle other calendar systems, such as the Hijri, Hebrew or Hindu calendars. Every date is read in the modern Gregorian calendar.

Also note that it compares a date with today only. To find the gap between two dates that are both different from today, choose one that makes the maths easy, or work it out by splitting the period into months and days.

Practical Tips

  • Check “Today’s date” in the results. If it isn’t what you expect, your device’s date or time zone may be wrong.
  • Decide how you’re counting before you start. Exclusive (the calculator’s method) and inclusive counts differ by one.
  • Leave a buffer for deadlines. If something is due “in 30 days,” plan to finish earlier, since you may not know exactly how the other side counts.
  • Use weeks & days for planning. “11 weeks, 1 day” is often easier to picture than “78 days.”
  • Re-check close to the date. Plans change, and so does the number every day.
  • For overseas deadlines, mind the time zone. Your “today” might not be the other party’s “today.”

Common Mistakes

  • Counting the start and end day both and ending up one day over.
  • Assuming every month has 30 days. It adds up to a few days of error over a year.
  • Forgetting 29 February when a period crosses a leap year.
  • Treating 30 days as a month (or 365 days as always a year).
  • Expecting working days. The calculator counts every calendar day, including weekends.
  • Mixing up “from today” and “ago.” Read the second box, not just the number.
  • Trusting a wrong device clock. A phone with an incorrect date gives an incorrect result.

A Short Note on the Calendar We Use

The calendar used almost everywhere today is the Gregorian calendar, introduced by Pope Gregory XIII in 1582 to correct the slow drift of the older Julian calendar, which added leap years too often. The “except century years not divisible by 400” rule you saw above comes from that reform. Countries adopted it at very different times, some centuries later, which is why historic dates in different places can be recorded differently. The calculator applies the modern Gregorian rules to every date it handles.

Questions People Ask

How do I find out how many days until a date?

Choose the date in the three lists and press the button. If it’s in the future, the second box says “From today” and the first shows the number of days.

How do I find out how many days ago something happened?

Do the same with a past date. The second box then says “Ago.”

Does it count today?

No. It shows the difference between two dates, so today to tomorrow is 1 day. If you want to count today as day one, add 1.

Which “today” does it use?

The date on your own device, in your local time zone. If that’s wrong, the result will be wrong too.

Does it handle leap years?

Yes, including the century rule, so 2100 is correctly treated as a non-leap year.

How far back and forward can I go?

The year list runs from 1900 to 100 years beyond the current year.

What if I pick a date that doesn’t exist?

If you choose something like 31 April or 29 February in a non-leap year, the calculator shows a message and asks you to check the day and month.

Does it count business days?

No. Weekends and public holidays are included in the count. If you need working days only, the calculator’s number will be too high.

Why are weeks and days shown but not months?

Weeks are always exactly 7 days long, while months vary from 28 to 31 days, so a count in months would be less precise.

Does the calculator save my date?

No. Your date isn’t sent anywhere; everything is worked out in your own browser. The only thing it may remember on your device is the background colour you pick.

Please note: this tool is for general information and calculation only. For legal, contractual, financial or official deadlines, always confirm how days are counted with the organisation involved or a qualified professional.