Server Environment Redhat Enterprise Linux PHP 5.3.5 Problem Let’s say I have a UTC date and time such as 2011-04-27 02:45 and I want to convert it to my local time, which is America/New_York. Three questions: 1.) My code below might solve the problem, would you agree? 2.) But, does the value of $offset automatically adjust for Daylight Savings Time
Tag: dst
MySQL datetime fields and daylight savings time — how do I reference the “extra” hour?
I’m using the America/New York timezone. In the Fall we “fall back” an hour — effectively “gaining” one hour at 2am. At the transition point the following happens: it’s 01:59:00 -04:00 then 1 …