PHP: Get current date in EST timezone considering DayLightSaving Time
<p>I have tried this code to get the current date in EST timezone, </p>

<pre><code>$currentDate=date("Y-m-d h:i A");
$timezone='EST';
date_default_timezone_set($timezone);
$storedate=date("Y-m-d h:i A");
echo $currentDate."  ===  ".$storedate."&lt;br/&gt;&lt;br/&gt;";
</code></pre>

<p>the storedate displays 1 hr late datetime. I think this is because of the daylight saving time.
Please provide me the best way to get current date in EST timezone considering Daylight saving time.</p>
