title: PHP date_default_timezone_set() Eastern Standard Time (EST)
body: <p><strong>Long story short</strong></p>
  
  <p>Is there an official, un-deprecated timezone that PHP5 recognizes for Eastern STANDARD time--not Eastern DAYLIGHT time?</p>
  
  <p><strong>Short story long :-P</strong></p>
  
  <p>Wow, I can't believe that PHP makes such a cluster-floogen out of setting the time.</p>
  
  <p>I would like to use PHP5's date_default_timezone_set() to set the timezone for my script.  I want to use <strong>standard</strong> time. I <strong><em>do not</em></strong> want my script to observe daylight savings time. I do not want to have to use gmtime() and subtract 60*60*5 seconds each time my program writes a time.  I don't want to save that value to a variable either.  Setting the default timezone is more elegant and makes the script more portable to other servers and locales.</p>
  
  <p>Unfortunately PHP requires I use one of their stupid "official timezones" when setting the default time zone.   There is an "America/New_York" but I have no idea if it or any of the official PHP timezones observe Daylight savings time. Through experimentation, I discovered that "America/New_York" does observe DST. "America/Panama" is EST and thus does not observe DST... but what if Panama should ever change their mind about DST in the future? (They observed DST in 1908)</p>
  
  <p>Because Panama could always change their mind; I just want to use the GMT or UTC offset.</p>
  
  <p>Then there is this...</p>
  
  <p><a href="http://us.php.net/manual/en/timezones.others.php" rel="noreferrer">http://us.php.net/manual/en/timezones.others.php</a></p>
  
  <p>The above link list what I am assuming are deprecated timezones.  "EST" is in there but is very USA-centric so I understand why it is deprecated.  "Ect/GMT-5" is there too and I have absolutely no idea why that is deprecated.  If you ask me, all the place name timezones should be deprecated and the GMT timezones un-deprecated... but get this... "Ect/GMT-5" is actually wrong!  I had to use "Ect/GMT+5" to get USA's Eastern Standard Time.  I'm pretty sure I'm not 5 hours ahead of England here on the East Coast.</p>
  
  <h1>Answered?</h1>
  
  <p>No one really answered the question.  So I guess I'll answer it myself.  "No, there is no, un-deprecated timezone that PHP5 recognizes for Eastern STANDARD time"  </p>
  
  <p>A lot of folks told me I that should store dates as UTC time and translate them to local time when I pull them out of storage--something I already know.  The problem is, I was hired to only fix this little part of the script and I doubt the guy is going to let me re-write his whole code which he's been using since the dawn of PHP supposedly.</p>
  
  <p>I will reluctantly give credit to the dude who shows you how to correctly store and retrieve times so future folks searching for this learn how to do this the right way.</p>