tags:

views:

61

answers:

3

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
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
There are no errors. I'm just trying to set the timezone based on my servers area.
jim
It should be America/Phoenix according to http://en.wikipedia.org/wiki/Mountain_Standard_Time_Zone
Pekka
@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
Ah. Good to know! +1
Pekka
+1  A: 

Mountain Time UTC-7 UTC-6 MST MDT America/Denver

jspcal
Thanks jscal. I had no idea, I live in the Pacific area. :)
jim
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