Time & Date

How to Calculate the Difference Between Two Dates

Step-by-step guide to finding exactly how many days, weeks, months, or years are between two dates using the DevHexLab Date Difference tool.

Tool Used

Date Difference Calculator

Open tool
1

Open the Date Difference tool

Navigate to /tools/time/date-difference.

2

Set the start date

Click the start date field and choose a date from the calendar picker, or type a date in the input.

3

Set the end date

Set the end date the same way. The tool calculates the difference from start to end, so put the earlier date first for a positive result.

4

Read the result

The tool shows the difference broken down into years, months, weeks, and days so you can use whichever unit fits your needs.

All done!

You are ready to use Date Difference Calculator like a pro.

Try it now
All guides