#35769 [NEW]: error handing dates prior to 1970
| From: | php at 62nds dot com | Date: | Thu, 22 Dec 2005 07:42:22 +0000 |
| Subject: | #35769 [NEW]: error handing dates prior to 1970 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-90857@lists.php.net to get a copy of this message | ||
From: php at 62nds dot com
Operating system: linux
PHP version: 4.4.2RC1
PHP Bug Type: Date/time related
Bug description: error handing dates prior to 1970
Description:
------------
Wrong month and day returned by gmdate; year is correct most of the time.
Reproduce code:
---------------
$membday = mktime(0, 0, 0, 6, 15, 1966);
echo gmdate('Y.m.d', $membday);
--
Edit bug report at http://bugs.php.net/?id=35769&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35769&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35769&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35769&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35769&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35769&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35769&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35769&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35769&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35769&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35769&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35769&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35769&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35769&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35769&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35769&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35769&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35769&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35769&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35769&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35769&r=mysqlcfg