|  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
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.
Block user comment
Status: Assign to:
Bug Type:
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


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 13:03:41 2023 UTC