Hello,
I am not sure if this is a PHP problem. I am using strtotime() to convert
date string to timestamp. But this function fails with date prior to 1970.
The documentation however says that range is Fri, 13 Dec 1901 20:45:54 GMT
to Tue, 19 Jan 2038 03:14:07 GMT
To be specific strtotime("2003/05/04") works fine, but
strtotime("1966/05/04") returns -1
I face the same problem with mktime().
Is there any way to get a valid timestamp for dates before 1970 ??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php