php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53520 The valid range of a timestamp to become 64-bit signed integer
Submitted: 2010-12-11 11:49 UTC Modified: 2010-12-11 12:50 UTC
From: office at mediasoft dot bg Assigned: derick (profile)
Status: Closed Package: Date/time related
PHP Version: 5.3.4 OS: ALL
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: office at mediasoft dot bg
New email:
PHP Version: OS:

 

 [2010-12-11 11:49 UTC] office at mediasoft dot bg
Description:
------------
The Summary field tells everything.
Is it possible (in the future), the valid range of a timestamp to become 64-bit signed integer. I'm using BIGINT in MySQL database for date + time fields in my applications and recently figured out that the interval for date-time is very limited!
---
From manual page: http://www.php.net/function.date
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-11 12:50 UTC] derick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: derick
 [2010-12-11 12:50 UTC] derick@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

It supports 64bits on platforms that support 64 bits. You can also use the new DateTime class that supports 64bit timestamps internally on every platform
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 08:01:34 2025 UTC