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 1 | Date 2 | Days Between |
March 20, 1998 | March 20, 1998 | 1 |
March 20, 1998 | March 21, 1998 | 2 |
March 20, 1998 | March 22, 1998 | 3 |
|