php get US/Eastern current time
<p>I want to get current time of US/Eastern timezone. How would i achieve that.</p>

<p>I have tried following code but it is displaying my system's time.</p>

<pre><code>&lt;?php
   date_default_timezone_set('US/Eastern');
   $currenttime = date('h:i:s:u');
   list($hrs,$mins,$secs,$msecs) = split(':',$currenttime);
   //print "&amp;time2=".$secs."&amp;time1=".$mins."&amp;time0=".$hrs;
?&gt;
</code></pre>

<p>i am using this script with flash so commented out 'print' line.</p>

<p>Its urgent. So help me out asap.
Thanks</p>
