CraftTools

Date Calculator

Guide: Unix Timestamps Explained

Nothing you enter or choose here leaves your device. This tool runs in your browser.

Two jobs

Days between dates counts the days from one date to another, and also shows the weekdays between them. Add or subtract time starts from a date and moves it forward or back by days, weeks, months or years. The calculator works in whole calendar days, so clock changes and time zones never affect the answer.

Worked examples

QuestionAnswer
Days from 1 January to 25 December 2026358
Days from 1 March 2026 to 1 March 2027365
Days from 28 February to 1 March in 20271
Days from 28 February to 1 March in 2028 (a leap year)2
90 days after 15 October 202613 January 2027
One month after 31 January28 February, or 29 in a leap year

Is the end date included?

No. The count is how many days pass between the two dates, so the same date twice is 0 days, and today to tomorrow is 1. That's the right figure for "how long until". If a contract says a period of 30 days runs including the first and last day, add one. Whenever the answer controls a deadline, check how the document counts.

Month-end surprises

Months have different lengths, so adding one month to the 31st lands on the last day of the next month when that month is shorter. 31 January plus one month is 28 February. Adding another month gives 28 March, not 31 March, because each step starts from the previous result. If you need the 31st kept, add all the months in one step.

Leap years in one line

A year is a leap year if it divides by 4, unless it divides by 100, in which case it must also divide by 400. So 2028 is a leap year, 2100 isn't, and 2000 was. This is why a calculation across 29 February can come out a day different from what you expect.

Weekdays and holidays

The weekday count includes Monday to Friday and leaves out weekends. It doesn't know about public holidays, which vary by country and region, so take those off by hand for a business-day deadline. For a delivery promise of 10 working days, count 10 weekdays and then add the holidays that fall inside the period.

Common uses

  • Notice periods, such as 30 or 90 days from a signing date.
  • Warranty or return windows.
  • Counting down to a trip, an exam or a due date. The countdown page keeps a live count.
  • Finding the date 10,000 days after a birthday, or the day 100 days after an event.
  • Checking how long a project actually ran.

Dates stay in your browser. For exact ages in years, months and days use the age calculator. When a date comes from a log as a Unix number, convert it with the timestamp converter, and for the way time zones can move a date, read the guide to time zones.

Written by Akinrinmade Michael · Updated October 24, 2026 · General information, not professional advice

How to use

  1. 1Choose "Days between dates" or "Add / subtract time".
  2. 2Pick your start date, and an end date or the amount of time.
  3. 3Read the result, shown instantly.
  4. 4Change any date to try another scenario.

Frequently asked questions

Is the end date included in the count?

No. The count is the number of days from the start date to the end date, so the same day twice is 0 days and today to tomorrow is 1 day.

How are weekdays counted?

Weekdays are Monday to Friday between the two dates. Public holidays aren't excluded.

What happens when I add a month to January 31?

The result lands on the last day of the next month, so January 31 plus one month is February 28 (or 29 in a leap year).

Do time zones or daylight saving affect the answer?

No. Dates are calculated as calendar days, so clock changes never shift the result.

Read the guides

Learn how this works and how to get the most from it.

Developer

Unix Timestamps Explained

What a Unix timestamp is, the difference between seconds and milliseconds, how time zones fit in, and the Year 2038 problem.

3 min read

Money, health & time

How Pregnancy Due Dates Are Calculated

How a due date is worked out from the last period or conception, how cycle length changes it, and what the weeks and trimesters mean.

3 min read

Developer

How to Read a Cron Expression (With Examples)

Learn what the five fields of a cron expression mean, how */5 and 1-5 work, and see common schedules explained clearly.

4 min read

Money, health & time

Time Zones, UTC and Daylight Saving: A Practical Guide

Why time zones cause bugs and missed meetings, what UTC is, how daylight saving shifts things, and rules for working across zones.

4 min read

Countdown to a Date

Days, hours and minutes until any date. Live countdown.

Week Number Calculator

ISO and US week number of any date, and the dates of a week.

Age Calculator

Find your exact age in years, months and days, and your next birthday.

Hours Calculator

Hours worked, time card totals, and adding or subtracting time.