|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-02-03 22:53 UTC] jtantillo at glaserinc dot com
Description: ------------ I'm sure you are already aware of the int limitations on the Date Time Stamp. I also read that there was a 64bit timestamp ready, but not activated/available. When is that going to be activated? And what are the new limitations as far as Date/Time going to be with that? Thanks. Expected result: ---------------- Expected Calendar app to go past 1-19-2037 and back further than 12-1901 Actual result: -------------- It didn't PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 07:00:01 2025 UTC |
I have this same problem in php 5.2.10. Here is the chunk of code that I used. Last Checked: <input disabled type="text" name="txt" value="<?echo "".date("m-d-Y",strtotime($datech));?>" maxlength= "10" size="10"> When there is a date stored in the database that has a year that is higher than 2037 this code displays 12-31-1969 as the date. Even though the database has a different date, such as having the year 3000. I do realize that the year 3000 is a few years away, but the issue will be a very large problem in say: 2038 I hope this information is helpful. If you need any more information please ask. Thanks