ID: 23467 Comment by: radio_jed at hotmail dot com Reported By: John at JGSystems dot net Status: Open Bug Type: Date/time related Operating System: win32 only PHP Version: 4.3.3RC5-dev, 5.0.0b2-dev New Comment:
I just submitted a bug with the exact same thing, but this is reproducible on my XP machine. I get "BST" as well, and I'm in America/Los_Angeles (should be "PST" or "PDT"). Coincidentally, my problem was while using filemtime() (I note that you used getlastmod()), but it also works when using date() naked. Previous Comments: ------------------------------------------------------------------------ [2003-08-20 20:35:39] John at JGSystems dot net Here ya go: Commands: echo date("r"),"<br>\n"; echo date("I"),"<br>\n"; // uppercase "i" echo date("T"),"<br>\n"; Result: Wed, 20 Aug 2003 19:33:34 -0600 1 BST This what you wanted? (I hope) ------------------------------------------------------------------------ [2003-08-19 23:12:26] John at JGSystems dot net The time last modified was pasted in the reply. This page was last modified: Monday - May 19, 2003 at 4:22 PM BST. I'll get the current time pasted in tomorrow... The results of: echo date("r"),"\n"; echo date("I"),"\n"; // uppercase "i" Too late tonight... ------------------------------------------------------------------------ [2003-08-19 22:48:30] [EMAIL PROTECTED] I wanted to know the TIME...not the time zone.. ------------------------------------------------------------------------ [2003-08-19 21:12:06] John at JGSystems dot net It's a local machine. Win XP. Nothings changed from the items listed below in this thread or I would have mentioned it. I downloaded the link, installed it after erasing the last version you all had me try and the same result. I did tell you that it was supposed to be --> MDT <-- not --> BST <-- Thanks... ------------------------------------------------------------------------ [2003-08-19 21:00:56] [EMAIL PROTECTED] You need to always tell what the time SHOULD be. Also, is this on local machine? Or some remote machine where you upload the script? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23467 -- Edit this bug report at http://bugs.php.net/?id=23467&edit=1