ID: 40346 Comment by: dragonmoon01 at hotmail dot com Reported By: jtantillo at glaserinc dot com Status: No Feedback Bug Type: Date/time related Operating System: Win XP PHP Version: 5.2.0 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2007-02-11 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-02-03 23:01:19] der...@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2007-02-03 22:56:37] jtantillo at glaserinc dot com . ------------------------------------------------------------------------ [2007-02-03 22:55:13] jtantillo at glsaerinc dot com . ------------------------------------------------------------------------ [2007-02-03 22:53:34] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40346&edit=1