I recently upgraded my system, and all of a sudden strtotime won't handle a
date/time prior to the unix start microtime..

For example echo strtotime("1965-01-01"); returns a -1 (e.i. invalid
date/time format). According to the PHP4 docs:

Note: The valid range of a timestamp is typically from Fri, 13 Dec 1901
20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that
correspond to the minimum and maximum values for a 32-bit signed integer.)

But dates between 1901 and 1969ish don't work anymore... Is there another
date function to convert a date to a negitive unix timestamp??? Please help.

Thanks David

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

Reply via email to