ID: 20130 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Date/time related Operating System: windows 98 PHP Version: 4.2.3 New Comment:
And such functions exist, but strtotime() is specifically documented to return a unix timestamp. See php.net/calendar and specially the julian functions. Previous Comments: ------------------------------------------------------------------------ [2002-10-30 00:33:47] [EMAIL PROTECTED] Please come up with a good implementation then, which works cross-platform, for all c libraires... It's not an easy fix, and I feel we shouldnt even start on this. Derick ------------------------------------------------------------------------ [2002-10-30 00:32:13] [EMAIL PROTECTED] Don't brush off the problem because the underlying C code is short sighted. Switch to a better date-time structure. ------------------------------------------------------------------------ [2002-10-27 21:00:46] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. unix timestamps are only good till about year 2038. ------------------------------------------------------------------------ [2002-10-27 20:54:19] [EMAIL PROTECTED] echo strtotime("2039-01-01"); --it will return -1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20130&edit=1