Current toolDate calculator
Date & time · DAT-02Submit an issue

Date calculator

Compare dates in days, weeks, months, hours, minutes and seconds. Copy each result or add and subtract whole days.

Date difference · Add / Subtract days
Start date
1
1
2026
End date
12
31
2026
OutputClick a row to copy its value
Usage guide and examples

Convert, compare and calculate

Choose the interval mode for separate days, weeks, months, hours, minutes and seconds. Click a row to copy its value; reversed dates show an absolute interval. 2026-01-01 to 2026-12-31 is 364 days: 52 weeks, 11 calendar months and 30 days, or 8736 hours. Add/subtract uses signed whole days.

Check the input format and options with this example before using your own data. Random values, file sizes and presentation vary with the input and settings.

Example input and settings

2026-01-28
2026-02-03

What to check in the result

6 days
Worked examples

Days between dates and date arithmetic

Switch between date difference and date shift modes to calculate across month and year boundaries.

01

Find days between two dates

January 28, 2026 to February 3, 2026 is a difference of 6 days.

02

Add days to a date

March 15, 2026 plus 30 days is April 14, 2026.

03

Subtract days from a date

Enter -20 in date shift mode: March 15, 2026 minus 20 days is February 23, 2026.