|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13404 date('Z') seems to be wrong
Submitted: 2001-09-23 04:10 UTC Modified: 2001-09-23 04:45 UTC
From: rfinnie at kefta dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4.0CVS-2001-09-23 OS: FreeBSD 4.3-RELEASE
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: rfinnie at kefta dot com
New email:
PHP Version: OS:


 [2001-09-23 04:10 UTC] rfinnie at kefta dot com
date('Z') is returning -25200 on my system (mountain), even though though the rest of the system believes it is in the pacific time zone (rightfully so).  /bin/date returns "Sun Sep 23 01:09:17 PDT 2001".

configure line: './configure' '--prefix=/usr/local/apps/rf_php' '--with-config-file-path=/usr/local/apps/rf_php/lib' '--with-exec-dir=/usr/local/apps/rf_php/bin' '--with-apxs=/usr/local/apps/rf_apache/bin/apxs' '--with-imap' '--with-gd=/usr/local' '--with-mysql=/usr/local/apps/mysql' '--with-db' '--without-pear'


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-23 04:39 UTC] rfinnie at kefta dot com
Umm, never mind.  Never let a programmer like me work in DST this late at night.
 [2001-09-23 04:41 UTC]
No bug -> bogus.

- Markus
 [2001-09-23 04:44 UTC]
That would be correct.  You can prove this to yourself by typing:  date +%z
at your prompt.  I bet you will see the same number.  ie. -0700
Remember we are on summer time.  See
to verify this for yourself.  PDT is GMT-7
 [2001-09-23 04:45 UTC]
uh, woops, shouldn't have spent the 2 minutes to find a URL that explains this.  Lots of people watching bugs these days... ;)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 02:01:36 2024 UTC