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 mktime() returned a negative number for dates
> prior to 1970-01-01.  On the RH 8 box, they both return -1.  Is there any
> work around to calculating date differences for dates prior to 1970?

Have a look at the functions in manual > 'Calendar functions'.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Victory uber allies!
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to