title: php get US/Eastern current time
body: <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>