|  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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 15:03:33 2021 UTC