Doc #73857 [NEW]: Y2038 issue with getTimestamp and setTimestamp, with alternative
| From: | asphp at dsgml dot com | Date: | Wed, 04 Jan 2017 07:42:26 +0000 |
| Subject: | Doc #73857 [NEW]: Y2038 issue with getTimestamp and setTimestamp, with alternative | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-14306@lists.php.net to get a copy of this message | ||
From: asphp at dsgml dot com
Operating system:
PHP version: 5.6.29
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Y2038 issue with getTimestamp and setTimestamp, with alternative
Description:
------------
---
From manual pages:
http://www.php.net/datetime.gettimestamp
http://php.net/manual/en/datetime.settimestamp.php
---
You should add a note to the documentation that on 32 bit systems
getTimestamp and setTimestamp will not handle dates after 2038, but
format(), and DateTime("@123456") *will* work.
--
Edit bug report at https://bugs.php.net/bug.php?id=73857&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73857&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73857&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73857&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73857&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73857&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73857&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73857&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73857&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73857&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73857&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73857&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73857&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73857&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73857&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73857&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73857&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73857&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73857&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73857&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73857&r=mysqlcfg