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 开发者_C百科server is in Salt Lake City.
Mountain Time UTC-7 UTC-6 MST MDT America/Denver
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?
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
.
精彩评论