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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC