php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #245 mktime fails for dates in PDT
Submitted: 1998-04-05 08:18 UTC Modified: 1999-06-12 16:12 UTC
From: gremlin at dial dot pipex dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0b4 OS: freebsd2.2.5
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: gremlin at dial dot pipex dot com
New email:
PHP Version: OS:

 

 [1998-04-05 08:18 UTC] gremlin at dial dot pipex dot com
echo Date("H:i", mktime($hour,$min))

Worked fine in PST. Clocks changed to PDT, and it broke for some settings, such as $hour=2, $min=0, returning 15:59


Patches

Pull Requests

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 20:01:30 2025 UTC