[Project_owners] Woops, getting an unexpected time from PHP?!?

Michael Vincent van Rantwijk, MultiZilla mv_van_rantwijk at yahoo.com
Thu Aug 23 15:39:34 PDT 2007


We use the following PHP snippet:

$now = date(time());
$pubDate = date("D, d M Y h:i:s O", $now);

And it returned: "Thu, 23 Aug 2007 03:36:00 -0700" but shouldn't that 
have been "Thu, 23 Aug 2007 15:36:00 -0700" instead, like before?


-- 
Michael Vincent van Rantwijk
- MultiZilla Project Team Lead
- XUL Boot Camp Staff member
- iPhone Application Developer



More information about the Project_owners mailing list