Bug #11876 Updated: gmdate() and date() wont generate a date greater than January 19, 2039

From: Date: Wed, 04 Jul 2001 12:40:04 +0000
Subject: Bug #11876 Updated: gmdate() and date() wont generate a date greater than January 19, 2039
Groups: php.dev 
Request: Send a blank email to php-dev+get-58874@lists.php.net to get a copy of this message
ID: 11876 Updated by: derick Reported By: ryan@jarp.cjb.net Old-Status: Open Status: Closed Bug Type: Date/time related Operating system: PHP Version: 4.0.6 Assigned To: Comments: This is not a bug in PHP, but a limitated in your OS. The time field is only 32 bits which means that dates larger then the date you want does not work. Derick Previous Comments: --------------------------------------------------------------------------- [2001-07-04 08:38:50] ryan@jarp.cjb.net gmdate() and date() wont generate a date greater than January 19, 2039 @ 3:14:07 AM. if you write gmdate("F j, Y @ g:i A", 2147483647) it gives you "January 19, 2039 @ 3:14:07 AM", but if you add one second to it and do gmdate("F j, Y @ g:i A", 2147483648) it gives you an error. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11876&edit=2

« previous php.dev (#58874) next »