Re: [PHP] Date Difference Errors

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 23:13, Rob Quenzer wrote: > I have a function that I use to return the number of days between two > dates. It worked fine on my Mandrake 7.0 server running PHP 4. I am > trying to run it on a RedHat 8.0 box with the same version of PHP. On > Mandrake, strtotime() and

[PHP] Date Difference Errors

2003-02-06 Thread Rob Quenzer
I have a function that I use to return the number of days between two dates. It worked fine on my Mandrake 7.0 server running PHP 4. I am trying to run it on a RedHat 8.0 box with the same version of PHP. On Mandrake, strtotime() and mktime() returned a negative number for dates prior to 1970