php timezone displaying correct hours but not seconds and minutes
<p>I want to display the time in different timezones, so i m using this</p>

<pre><code>$date=new DateTime(null, new DateTimeZone('America/Los_Angeles')); echo $date-&gt;format('Y-m-d H:i:sP') . "\n";
$date=new DateTime(null, new DateTimeZone('Europe/Paris')); echo $date-&gt;format('Y-m-d H:i:sP') . "\n";
</code></pre>

<p>So the above code display the correct hours but it's displaying the minutes and seconds same for all the timezone.</p>

<p>Please help</p>

<p>Thanks in advance
Dave</p>
