Date & Time Difference

Calculate the difference between two dates, or convert seconds to days, hours, and minutes.

Free Online Tool | GoTo Dev Tools

Calculate Date and Time Difference

Enter a start and end date to find the duration between them.

Start Date & Time

End Date & Time

Rounded difference in:

Seconds Converter

Convert a value in seconds to days, hours, and minutes.

How To Use

Date Difference Calculator

  • Select a start and end date and time.
  • The calculator will work even if the start date is after the end date.
  • Optionally, select an output format from the 'Rounded difference in' radio buttons to see the total difference in a specific unit.
  • Click "Calculate Difference" to see the result.

Seconds Converter

  • Enter a number of seconds.
  • Click "Convert" to see the equivalent in days, hours, minutes, and seconds.

FAQ

Does this calculator handle leap years?

Yes, the calculation correctly accounts for leap years when determining the difference in days.

Can I calculate the difference between times only?

Yes, you can select the same date for both start and end and just change the times to calculate the time difference within a single day.