Date and time guide

Date and Time Calculation Formulas

Date and time calculators look simple until inclusivity, time zones, daylight saving time and midnight crossings enter the problem.

Elapsed time versus calendar dates

Elapsed time measures duration between two moments. Calendar date difference counts dates on a calendar. A hotel stay from Monday to Wednesday is usually 2 nights, even though 3 calendar dates appear.

Concrete examples

22:30 to 02:15 is 3 hours 45 minutes when the end time is on the next day. Adding 14 days to March 1 gives March 15 in a normal calendar-day calculation.

Weekdays and time zones

A weekday result depends on the local calendar date. A UTC timestamp near midnight can be one date in London and another date in Los Angeles, so travel and deadline tools should label the time zone assumption.

Common mistakes

  • Counting both start and end date when the problem asks for elapsed days.
  • Ignoring daylight saving time changes.
  • Using local dates for UTC timestamps.
  • Treating business days as calendar days.

Use the calculators

FAQ

Why do date calculators disagree?

They may count the start date differently, use different time zones or treat business days and holidays differently.

Are calendar days and elapsed hours interchangeable?

No. Calendar-day questions are date-based; elapsed-hour questions are duration-based and can be affected by time zones or daylight saving changes.

Last reviewed: 2026-05-15.