#11876 [Com]: gmdate() and date() wont generate a date greater than January 19, 2039

From: Date: Tue, 20 Jul 2004 15:08:31 +0000
Subject: #11876 [Com]: gmdate() and date() wont generate a date greater than January 19, 2039
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-63016@lists.php.net to get a copy of this message
ID: 11876 Comment by: sweengers-fucking238 at hotmail dot com Reported By: ryan at jarp dot cjb dot net Status: Bogus Bug Type: Date/time related Operating System: Windows ME PHP Version: 4.0.6 New Comment: <a href=http://sweengers-fucking.da.ru>fucking sweengers</a> Previous Comments: ------------------------------------------------------------------------ [2001-07-04 08:40:04] derick@php.net 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 ------------------------------------------------------------------------ [2001-07-04 08:38:50] ryan at jarp dot cjb dot 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11876&edit=1

« previous php.bugs (#63016) next »