Doc #73857 [Opn->Csd]: Y2038 issue with getTimestamp and setTimestamp, with alternative

From: Date: Wed, 17 Nov 2021 14:48:24 +0000
Subject: Doc #73857 [Opn->Csd]: Y2038 issue with getTimestamp and setTimestamp, with alternative
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-19339@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73857&edit=1 ID: 73857 Updated by: git@php.net Reported by: asphp at dsgml dot com Summary: Y2038 issue with getTimestamp and setTimestamp, with alternative -Status: Open +Status: Closed Type: Documentation Problem Package: Date/time related PHP Version: 5.6.29 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2017-01-04 07:42:23] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73857&edit=1

« previous php.doc.bugs (#19339) next »