Last updated
Supported Input Formats
- ISO 8601:
2026-03-17or2026-03-17T14:30:00Z - US format:
03/17/2026 - European format:
17/03/2026 - Long format:
March 17, 2026 - Unix timestamp:
1773878400
Use the Date Difference Calculator at techconverter.me to enter any two dates and get an instant breakdown of the duration in days, weeks, months, years, hours, and business days.
Examples
Example 1: Days Until a Future Event
/* How many days until December 31, 2026? */
Start: 2026-03-17 (today)
End: 2026-12-31
Result:
Total days: 289
Weeks and days: 41 weeks, 2 days
Months and days: 9 months, 14 days
Example 2: How Long Ago Did Something Happen
/* How long ago was January 1, 2020? */
Start: 2020-01-01
End: 2026-03-17
Result:
Total days: 2,267
Total weeks: 323 weeks, 6 days
Years, months, days: 6 years, 2 months, 16 days
Total hours: 54,408
Example 3: Project Duration
/* Project ran from September 1, 2025 to March 17, 2026 */
Start: 2025-09-01
End: 2026-03-17
Result:
Total calendar days: 197
Business days: 141 (excluding weekends)
Weeks: 28 weeks, 1 day
Months: 6 months, 16 days
The business day count (141) is useful for calculating billable days or project velocity metrics.