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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 + 35 = ?
Subscribe to this entry?

 
 [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 14:01:30 2024 UTC