Calculating The Days Between Dates


This utility page will provide a javascript routine that when provided two valid Gregorian Dates it will calculate the # of days between them. This will not leave out any days at all, no matter that they are weekends, holidays, or otherwise. Invalid dates will be flagged and not accepted. The following table shows results for a few sample date pairs. Please note that dates for two successive dates will result in two (2) days.


Date 1Date 2Days Between
March 20, 1998March 20, 19981
March 20, 1998March 21, 19982
March 20, 1998March 22, 19983
MonthDayYear
Entry 1
Entry 2