R4 Project Management by r. k. lester & company
 
 

 

Calculate the Days Between Dates

Enter first date:
Enter second date:  
Click CALCULATE  
Select date format:
mm/dd/yyyy
dd/mm/yyyy

 

 

Notes:
  • The script calculates the difference between Julian days, so it should be accurate from 1 Jan 4713 BC (Julian day zero) to 1 Jan 3268. This is from before Abraham left Ur to after the reign of Christ, so it should be quite sufficient. Dates on or after 15 Oct 1582 are assumed to be in the Gregorian calendar, and dates before that in the Julian calendar.

  • Month and day may be one or two digits. The year may be one to four digits. One and two digit years are assumed to be 20th century AD. So if the date is first century, use leading zeros, like "0064" for the year Rome burned during Nero's reign.

  • The script will pop up an alert box and mark the days between dates as questionable if a date is invalid. Leap year checking is correct for both Gregorian (after 15 Oct 1582) and Julian (before) dates, except for dates before 8 A.D. From 45 B.C. to 8 A.D. leap years followed a different rule, and the current version of this script does not account for that.

  • In the Julian-to-Gregorian change, 15 Oct immediately followed 4 Oct 1582. The script will not allow you to use dates in that time period, because they do not exist in countries that implemented the Gregorian calendar on the prescribed date. For other countries you're on your own.

Call 434-906-4688  Home    About Us    Email  

© 1995-2010. All Rights Reserved to respective owners.