Calculate difference between dates

Calculate the signed day difference between two calendar dates.

Local processing · Nothing is uploaded · 1 MB input limit

Input & settings

Enter the values below. No file is needed.
Ready. Enter your input to begin.

How to use this tool

Difference = end minus start. Same-day results are zero; an earlier end produces a negative difference.

Limits and behavior

Uses the Gregorian calendar for years 1900–2100. Dates must be exact YYYY-MM-DD values. Calendar days are counted at UTC midnight, independent of daylight saving. Hours/minutes/seconds are the equivalent multiples of uniform calendar days, not elapsed local-clock time across DST changes. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.

Calculate the day difference between dates

Compare two calendar dates and obtain the number of days separating them, including whether the end is earlier.

Does the result depend on the hour or time zone?

This tool compares calendar dates, not exact timestamp instants. Use the duration calculator for precise times.

Related tools: calculate days until date · calculate time duration

Built on Hatchable