Time & Date Calculators

10 free time & date calculators: days between dates, age calculator, add/subtract dates, countdown timer, world clock, timezone converter, Unix timestamp, business days, work hours & ISO week number. Instant, privacy-first.

Days Between Dates Calculator

Calculate the exact number of calendar days, weeks, months and years between any two dates instantly.

Live ResultsUpdates instantly
Total Calendar Days
Enter start and end dates

Detailed Breakdown

Complete Years
Complete Months
Complete Weeks
Hours / Minutes
Expert Reviewed & Updated for 2026

The Complete Guide to Time, Date & Calendar Calculations

From calculating days between dates to converting time zones, understanding ISO week numbers, business day rules and Unix timestamps — master every temporal calculation used in business, programming and daily life.

01Days Between Dates: The Definitive Calculation Guide

Calculating the exact number of days between two dates is one of the most fundamental operations in scheduling, project management, legal work and financial analysis. The mathematics appear deceptively simple — subtract one date from another — but the reality involves careful handling of calendar irregularities: varying month lengths (28 to 31 days), leap year insertions, and timezone boundaries that can make "today" a different calendar date depending on where you are on Earth.

365
Days in a standard year
366
Days in a leap year
86,400
Seconds per calendar day
525,600
Minutes in a standard year

How the Calculation Works

Modern software calculates days between dates using Unix timestamps — the number of milliseconds elapsed since January 1, 1970, 00:00:00 UTC. Subtracting two timestamps and dividing by 86,400,000 (milliseconds per day) gives the total calendar days. The JavaScript Date object handles all calendar irregularities automatically, including leap years and month lengths, because it stores time as a linear millisecond count, then maps that to calendar dates on demand.

Date Unit Conversions
  • 1 year = 365 or 366 days (leap)
  • 1 year = 52 weeks + 1 or 2 days
  • Average month = 30.437 days
  • 1 month ≈ 4.348 weeks
  • 1 week = 7 days = 168 hours
Common Use Cases
  • Legal: Contract deadlines, limitation periods
  • Finance: Accrued interest (Actual/365)
  • HR: Notice periods, probation lengths
  • Health: Gestational age, medication schedules
  • Project: Sprint lengths, milestone tracking
Inclusive vs. Exclusive Counting: Whether you include the end date matters significantly in legal and financial contexts. A 3-day delivery window from Monday to Wednesday inclusive = 3 days, but exclusive = 2 days. Bank day-count conventions (Actual/360, Actual/365, 30/360) standardize this for bond interest calculations.

02Business Days: How Contracts, Courts and Banks Count Time

A business day is any weekday (Monday through Friday) that is not a public holiday. This seemingly simple definition hides enormous complexity across jurisdictions: the US has 11 federal holidays, the UK has 8 bank holidays in England and Wales, India has 3 national holidays plus state-specific additions. International contracts must specify which country's holiday calendar applies — a "10 business day" deadline can differ by 3–4 days between New York and Mumbai for the same calendar period.

252
US business days/year (avg)
11
US federal holidays
104
Weekend days per year
21–22
Business days per month (avg)
Fixed-Date US Holidays
  • Jan 1 — New Year's Day
  • Jun 19 — Juneteenth
  • Jul 4 — Independence Day
  • Nov 11 — Veterans Day
  • Dec 25 — Christmas Day
Floating US Holidays
  • 3rd Mon Jan — MLK Day
  • 3rd Mon Feb — Presidents' Day
  • Last Mon May — Memorial Day
  • 1st Mon Sep — Labor Day
  • 2nd Mon Oct — Columbus Day
  • 4th Thu Nov — Thanksgiving
Banking Day Rules: The Federal Reserve's Regulation CC defines "business day" as any day except Saturday, Sunday, and federal holidays. ACH transfers, wire settlement, and check clearing all follow this calendar strictly. Same-day ACH cutoff times are typically 2:45 PM ET.

03Age Calculation: More Complex Than It Looks

Calculating precise age requires handling month boundaries carefully. Edge cases trip up many implementations: February 29 birthdays (a leap day baby turning 25 on a non-leap year), end-of-month boundaries (born January 31, age on March 31 vs. March 30), and timezone effects (you may be born on different calendar dates depending on whether the hospital used local time or UTC for the birth record).

122.45
Oldest verified human age (yrs)
73.4 yrs
Global avg life expectancy
26,645
Days in a 73-year life
613,152
Hours in a 70-year life
Legal Age Calculation: In most legal jurisdictions, you attain a specific age on the anniversary of your birth date. So a person born on March 15, 2000 becomes 18 years old on March 15, 2018, not March 14. For licensing, voting, and contract law, the exact date matters significantly.

04Time Zones, UTC & the IANA Database

The world uses 24 primary time zones spanning UTC-12 to UTC+14 — more than 24 because some zones overlap to accommodate political boundaries. Nepal (UTC+5:45), India (UTC+5:30), and Iran (UTC+3:30) use half and quarter-hour offsets. China spans 5 natural time zones but officially uses only UTC+8. The IANA Time Zone Database is the canonical reference for all timezone rules, DST transitions, and historical offsets used by every operating system and programming language.

Major UTC Offsets
  • UTC-12: Baker Island
  • UTC-5: New York (EST)
  • UTC+0: London (GMT/WET)
  • UTC+5:30: India (IST)
  • UTC+8: China, Singapore, Perth
  • UTC+9: Japan, South Korea
  • UTC+14: Line Islands (Kiribati)
UTC vs GMT: The Difference
  • GMT is a timezone (historical, no DST)
  • UTC is an atomic time standard
  • Both share the same offset (UTC+0)
  • UTC replaced GMT as the global standard in 1972
  • Leap seconds keep UTC within 0.9s of UT1
  • Programming: always store in UTC
The International Date Line: The IDL runs roughly along the 180° meridian in the Pacific. Crossing westward advances your date by one day; crossing eastward moves it back. Samoa switched from UTC-11 to UTC+13 in 2011, skipping December 29 entirely, to align with Australia and New Zealand for trade.

05Unix Timestamps: The Universal Language of Time in Computing

Unix time counts the number of seconds since January 1, 1970, 00:00:00 UTC. It has become the universal standard for representing time in databases, APIs, log files, and distributed systems. Its advantages over human-readable formats are enormous: it is a single integer (timezone-agnostic), monotonically increasing (trivially sortable), and unambiguous (no locale-specific formatting).

1970-01-01
Unix Epoch (time zero)
1,000,000,000
Sep 9, 2001 milestone
2,147,483,647
Year 2038 32-bit overflow
13 digits
Millisecond precision (JS)
The Year 2038 Problem: 32-bit signed integers store a maximum of 2,147,483,647 — which as a Unix timestamp corresponds to January 19, 2038, 03:14:07 UTC. On that date, 32-bit systems will overflow to a negative number. Modern 64-bit systems extend capacity to the year 292,277,026,596.

Timestamps in Practice

REST APIs commonly return timestamps as Unix seconds (e.g., 1735689600) or ISO 8601 strings (e.g., 2025-01-01T00:00:00Z). JavaScript's Date.now() returns milliseconds (13 digits), while most Unix utilities and Python's time.time() use seconds (10 digits). Always check the unit — a millisecond timestamp interpreted as seconds gives a date in the year 56,000+.

06Daylight Saving Time: The Global Patchwork of Clock Changes

Daylight Saving Time (DST) is practiced by approximately 70 countries but applies to only about 40% of the world's population, as China, Japan, India, Russia, and most of Africa and Asia do not observe it. The rationale — extending evening daylight to reduce energy consumption — was first formally adopted during World War I. Modern research on energy savings is mixed: while artificial lighting use drops, air conditioning demands often increase.

Countries WITH DST
  • US: 2nd Sun March → 1st Sun Nov
  • EU: Last Sun March → Last Sun Oct
  • UK: Last Sun March → Last Sun Oct
  • Canada: Same as US (most provinces)
  • Australia: 1st Sun Oct → 1st Sun Apr (southern)
Countries WITHOUT DST
  • China: UTC+8 year-round
  • Japan: UTC+9 year-round
  • India: UTC+5:30 year-round
  • Russia: Abolished DST in 2014
  • UAE: UTC+4 year-round
  • Arizona (US): No DST (except Navajo Nation)
"Spring Forward" Anomaly: When clocks spring forward at 2:00 AM, the hour between 2:00 and 3:00 AM does not exist. Events scheduled for 2:30 AM never occur. Conversely, when clocks "fall back," 2:30 AM happens twice. The safest approach in software: always store times in UTC and convert to local time only for display.

07ISO Week Numbers: The International Business Standard

ISO 8601 defines a week numbering system where weeks run Monday to Sunday, Week 1 is the week containing the first Thursday of the year (equivalently: the week containing January 4th), and some years have 53 ISO weeks. This standard is used across Europe for business planning, payroll, manufacturing scheduling, and academic calendars. The US historically uses "calendar weeks" starting on Sunday, creating systematic discrepancies in cross-border project planning.

52
ISO weeks in most years
53
Weeks in long years (2026)
Mon
ISO week starts Monday
Jan 4
Always in ISO Week 1
2026 Has 53 ISO Weeks: Years where January 1 falls on Thursday have 53 ISO weeks. In 2026, January 1 is a Thursday — Week 1 starts December 29, 2025, and Week 53 ends January 3, 2027. This is important for annual payroll, shift scheduling, and fiscal year planning.

08Work Hours & Overtime: Legal and Payroll Standards

The US Fair Labor Standards Act (FLSA) mandates overtime pay at 1.5× the regular rate for all hours worked beyond 40 in a workweek for non-exempt employees. California's more stringent rules require daily overtime (1.5× after 8 hours/day, 2.0× after 12 hours/day). Canada, Australia, and EU countries have their own distinct thresholds. Always verify your jurisdiction's specific rules when calculating pay obligations.

FLSA Standard (Federal US)
  • Overtime: >40 hrs/week at 1.5×
  • No daily overtime requirement
  • Workweek defined by employer (any 7 days)
  • Exempt employees: no overtime required
  • Min wage: $7.25/hr (states may be higher)
California (Strictest US State)
  • Daily OT: >8 hrs at 1.5×
  • Daily double time: >12 hrs at 2.0×
  • 7th consecutive day: 1.5× first 8 hrs
  • Weekly OT: >40 hrs at 1.5×
  • Min wage: $16.50/hr (2024)

09Calendar Systems: Gregorian, Julian & Beyond

The Gregorian calendar, introduced by Pope Gregory XIII in 1582, corrected the Julian calendar's 11-minute-per-year drift by refining the leap year rule: years divisible by 100 are not leap years unless also divisible by 400. Britain and its colonies adopted the Gregorian calendar only in 1752, when 11 days were dropped (September 2 was followed by September 14). Many countries adopted it even later — Russia in 1918, Greece in 1923.

Proleptic Gregorian Calendar: When historians discuss dates before 1582 using Gregorian rules, they use the "proleptic Gregorian calendar." Julius Caesar's assassination (March 15, 44 BC Julian) is March 13, 44 BC in the proleptic Gregorian system. Software date libraries handling historical dates must specify which calendar system they use to avoid anachronistic errors.
1582
Gregorian introduced
1752
UK adoption
11 days
Dropped in 1752
26 secs
Annual solar drift corrected

10Leap Years: The Rule That Keeps Our Calendar Aligned

The Earth orbits the Sun in approximately 365.2422 days — not a whole number. Without correction, our calendar would drift backward by about 6 hours per year, or 24 days per century. The Gregorian solution: add a February 29th every 4 years, but skip it in century years not divisible by 400. The result: 97 leap years per 400-year cycle, giving an average year length of 365.2425 days — only 26 seconds more than the actual tropical year.

Gregorian Leap Year Rules
  • Divisible by 4 → leap year (2024 ✓)
  • Divisible by 100 → NOT leap (1900 ✗)
  • Divisible by 400 → IS leap (2000 ✓)
  • 2024, 2028, 2032 → leap years
  • 2100 → NOT a leap year
Leap Seconds
  • Added to UTC since 1972
  • 27 leap seconds added to date
  • Last leap second: Dec 31, 2016
  • POSIX/Unix time ignores leap seconds
  • GPS time: 18 seconds ahead of UTC

11Quick Reference: Time & Date Conversion Tables

Unit Conversions:
1 minute = 60 seconds • 1 hour = 3,600 seconds • 1 day = 86,400 seconds = 24 hours • 1 week = 604,800 seconds = 7 days • 1 non-leap year = 31,536,000 seconds = 365 days • 1 leap year = 31,622,400 seconds = 366 days
Calendar Quick Facts:
Jan=31 • Feb=28/29 • Mar=31 • Apr=30 • May=31 • Jun=30 • Jul=31 • Aug=31 • Sep=30 • Oct=31 • Nov=30 • Dec=31 • Q1=90/91 days • Q2=91 days • Q3=92 days • Q4=92 days
24
Standard time zones
38
Unique UTC offsets in use
604
IANA timezone IDs
UTC+0
Prime Meridian / Greenwich

12 Frequently Asked Questions

How do I calculate the exact number of days between two dates?
Subtract the earlier date from the later date in milliseconds, then divide by 86,400,000 (milliseconds per day). This gives you the total calendar days. Our calculator also breaks the result down into years, months, weeks, and remaining days. Always specify whether the end date should be included — this matters in legal and financial contexts.
What counts as a business day?
A business day is any weekday (Monday through Friday) that is not a public holiday. The US has approximately 252 business days per year, accounting for 104 weekend days and 11 federal holidays. Our calculator includes all 11 US federal holidays (both fixed-date and floating) and lets you toggle holiday exclusion on or off.
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix Epoch). It is the universal time representation in computer systems — timezone-agnostic, monotonically increasing, and unambiguous. JavaScript uses milliseconds (13-digit Unix time), while most Unix tools and Python use seconds (10-digit).
How do time zones work?
Time zones are defined as offsets from Coordinated Universal Time (UTC). The world has 24 standard time zones spanning UTC-12 to UTC+14. Many countries observe Daylight Saving Time (DST), which shifts clocks by 1 hour seasonally. The IANA timezone database (used by all modern systems) contains definitive DST rules for every region.
What is the difference between UTC and GMT?
UTC (Coordinated Universal Time) is the modern international time standard maintained by atomic clocks. GMT (Greenwich Mean Time) is a historical timezone matching UTC in offset (UTC+0) but is not an atomic time standard. In everyday calculations they are interchangeable, but in software development always store times in UTC, never in a named timezone.
How many weeks are in a year?
A standard year has 52 weeks and 1 day (365 days total). Leap years have 52 weeks and 2 days (366 days). The ISO 8601 week numbering system defines Week 1 as the week containing the first Thursday of the year, meaning some years have 53 ISO weeks (for example 2015, 2020, and 2026 all have 53 ISO weeks).
What is Daylight Saving Time and which countries use it?
Daylight Saving Time (DST) is the practice of advancing clocks 1 hour during summer to extend evening daylight. Approximately 70 countries observe DST. The US moves clocks forward on the second Sunday of March and back on the first Sunday of November. The EU follows the last Sunday of March and October. Countries including China, Japan, India, Russia and UAE do not observe DST.
How do I convert between time zones accurately?
To convert: (1) express the source time as UTC by subtracting its UTC offset, then (2) add the target timezone's UTC offset. Always check whether DST is in effect, as it shifts offsets by ±1 hour. The safest approach in software: store all timestamps in UTC and convert to local time only for display using the IANA timezone database.
What is the ISO 8601 date format?
ISO 8601 is the international standard for date/time text representation: YYYY-MM-DD for dates (e.g., 2026-09-07) and YYYY-MM-DDTHH:MM:SSZ for datetime with timezone (Z means UTC). It eliminates ambiguity between regional formats like 01/02/03 which could mean Jan 2 2003, Feb 1 2003, or Feb 3 2001 depending on locale.
How many business days are typically in a month?
The number of business days per month varies: February has the fewest (18–20) and 31-day months starting on weekdays have the most (23). On average, a US month has about 21–22 business days after accounting for weekends. Adding public holidays reduces this by 0–2 days per month depending on the holiday calendar.
What is the Year 2038 problem?
The Year 2038 problem occurs because 32-bit signed integers store a maximum value of 2,147,483,647. As a Unix timestamp, this value corresponds to January 19, 2038, 03:14:07 UTC. After that moment, 32-bit systems will overflow to a negative number representing December 13, 1901. Modern 64-bit systems extend Unix time capacity to approximately the year 292,277,026,596.
How do I add or subtract days from a date?
Convert the date to a Unix timestamp in milliseconds, add or subtract the number of days multiplied by 86,400,000 milliseconds, then convert back to a readable date. This method automatically handles month-end rollovers, leap years, and year boundaries correctly.
What week number is today?
ISO 8601 week numbers run from 1 to 52 (or 53 in some years). Week 1 is the week containing the year's first Thursday, or equivalently the week containing January 4th. Our Week Number Calculator shows the current ISO week number in real-time along with the exact Monday-to-Sunday date range for that week.
How is age calculated precisely?
Age is calculated by finding the difference between the birth date and today in complete years, then the remaining months, then the remaining days. The calculation accounts for leap years and varying month lengths. In most legal jurisdictions, you attain a new age on the anniversary of your birth date — not the day before.
How accurate is an online countdown timer?
Web-based countdown timers using JavaScript Date objects are accurate to the millisecond for near-term events. For events far in the future, browser tab throttling may reduce timer update frequency when the tab is in the background, but the calculated target datetime remains precise. The seconds display may lag slightly when the tab is not in focus.

Rate Time & Date Calculators

Help us improve by rating this tool.

4.7/5
151 reviews