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: Closed Package: Date/time related
PHP Version: 5.6.29 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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
 [2021-11-17 14:48 UTC] git@php.net
Automatic comment on behalf of cmb69
Revision: https://github.com/php/doc-en/commit/d74736d8039bbb4fed0c5254de9be5a27d71ebec
Log: Fix #73857: Y2038 issue with getTimestamp and setTimestamp, with alternative
 [2021-11-17 14:48 UTC] git@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC