PHP Classes

Uh Oh

Recommend this page to a friend!

      CalcDate  >  All threads  >  Uh Oh  >  (Un) Subscribe thread alerts  
Subject:Uh Oh
Summary:Incorrect calculations for some dates
Messages:1
Author:Peter
Date:2010-07-17 01:38:47
 

 


  1. Uh Oh   Reply   Report abuse  
Picture of Peter Peter - 2010-07-17 01:38:47
Consider the following dates:

First date: 1963-10-18
Second date: 2013-10-11

This class returns the number of days as 18255 but the correct value is 18256.

The following site verifies this:

calendarhome.com/cgi-bin/date2.pl?m ...

And also Open Office Calc returns 18256 as the number of days between these two dates.