php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73857 Y2038 issue with getTimestamp and setTimestamp, with alternative
Submitted: 2017-01-04 07:42 UTC Modified: 2017-01-12 00:07 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: asphp at dsgml dot com Assigned:
Status: Open Package: Date/time related
PHP Version: 5.6.29 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: asphp at dsgml dot com
New email:
PHP Version: OS:

 

 [2017-01-04 07:42 UTC] asphp at dsgml dot com
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-12 00:07 UTC] cmb@php.net
-Package: Documentation problem +Package: Date/time related
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 30 22:01:24 2020 UTC