Skip to main content

Date & Time Difference Calculator

Find the number of days between two dates, or calculate the exact time elapsed between two dates and times in UTC.

Mode

Counts calendar days, including weekends and holidays.

Enter both times in UTC. Seconds are optional.

How to calculate the difference

  1. Choose Dates only to count calendar days or Dates and times (UTC) to measure elapsed time.
  2. Enter a start and an end. If your times are in another time zone, convert each one to UTC first.
  3. Select Calculate difference to see the result.

Examples

  • Hotel stay or event days: For a hotel stay from March 1 to March 5, use the default setting to count four nights. For an event that runs every day from March 1 through March 5, select Count both the start and end dates to count five event days.
  • Time across midnight: March 1 at 22:30 UTC to March 2 at 01:15 UTC is 2 hours and 45 minutes.

Frequently asked questions

By default, the result shows the days elapsed between the two dates. Select Count both the start and end dates to include both endpoints. Two identical dates give 0 elapsed days or 1 day with the checkbox selected.

Yes. Dates-only mode counts every calendar day, including weekends and holidays.

Dates-only mode counts calendar days. To measure elapsed time across a daylight saving change, convert each local timestamp to UTC using the offset in effect at that time.

Swap the start and end values and calculate again.