Aparently, PHP doesn't recognize the State of Utah because I can't find the timezone for that area. Can someone please tell me what to use?" My server is in Salt Lake City.
A:
Mountain: UTC-7/-6 according to Wikipedia.
But it sounds like you have a different problem. At what point is PHP not recognizing the location, and what error messages come up?
Pekka
2009-12-25 03:17:47
Hey Pekka, Have a look here: http://www.php.net/manual/en/timezones.america.php. I can't find what you posted in there.
jim
2009-12-25 03:19:17
There are no errors. I'm just trying to set the timezone based on my servers area.
jim
2009-12-25 03:19:56
It should be America/Phoenix according to http://en.wikipedia.org/wiki/Mountain_Standard_Time_Zone
Pekka
2009-12-25 03:22:16
@Pekka: Except that Phoenix is in Arizona, which does not observe the same Daylight Saving Time rules as the rest of the Mountain Time Zone.
Daniel Pryden
2009-12-25 03:26:36
Ah. Good to know! +1
Pekka
2009-12-25 03:27:22
A:
According to the Wikipedia page on the Zoneinfo database (aka the Olson database):
Usually the most populous city in a region is chosen to represent the entire time zone, although other cities may be selected if they are more widely known or result in a less ambiguous name.
As jspcal points out, the Zoneinfo name for Mountain Time is America/Denver.
Daniel Pryden
2009-12-25 03:25:04