php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13691 Mktime BUG
Submitted: 2001-10-16 09:45 UTC Modified: 2001-10-16 09:50 UTC
From: atpires at yahoo dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.6 OS: Linux 2.4.8
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:
22 - 16 = ?
Subscribe to this entry?

 
 [2001-10-16 09:45 UTC] atpires at yahoo dot com
print "Date: " . date("d/m/Y", 1002942000) . " - " . date("d/m/Y", 1003024800);

both return 13/10/2001 ... and not

13/10/2001 - 14/10/2001

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-16 09:50 UTC] derick@php.net
Are you sure this is not relation to daylight savings time? I'm pretty sure it is. Please reopen if this is not the case.

Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC