SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist stonedeft's Avatar
    Join Date
    Aug 2009
    Posts
    586
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php TIMEZONE Question

    Hello forums,

    I need to change my php.ini timezone settings to Central Time Zone US.
    My date.timezone settings is currently set to Mountain Time

    date.timezone = "America/Denver"

    I checked out the php link for supported Timezones and I don't know w/c one is the the Central Time
    http://www.php.net/manual/en/timezones.america.php

    I'm not from the US and I have no absolute idea w/c one is the right choice.

    Thanks.
    Don't Panic

  2. #2
    Founder of Primal Skill Ltd. feketegy's Avatar
    Join Date
    Aug 2006
    Posts
    482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pick any city that's listed in the PHP list and on this site in the green zone (central timezone): http://www.happyzebra.com/timezones-...ntlocalusa.php

    For example: America/Chicago

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,789
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Pick the most southerly city listed in the timezone as they are the ones least likely to use daylight saving.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •