A tool to find the difference between two dates.
It shows the amount of years, months, weeks, days, hours, minutes and seconds.
About Date Difference Calculator
Date Difference Calculator is a tool to calculate the difference between two dates. Variable month lengths and leap years are taken into account, but the time of day is ignored.
The results are displayed in 7 different ways:
- Years, months, days
- Months, days
- Weeks, days
- Days
- Hours
- Minutes
- Seconds
Method of calculation
The fact that months can have different numbers of days can create some confusion. In this script the period ‘one month’ is defined as from ‘date in month x’ to ‘same date in next month’.
The script thus considers that the period from 28 February until 28 March is one month. The period from 28 February to 31 March is calculated as ‘one month plus three days’, even though both dates are the end of the month. The same confusion arises with other dates if months have a different number of days.
Dates
See also: Proverbs and Quotes about Day or Proverbs and Quotes about Time.