PHP JS Transform date to user timezone
<p>I have a page that shows future events along with the date (server time).
I need some method to display the date in user time.</p>

<p>Example:<br>
Oct, 26 13:48:23 (server)<br>
Oct, 26 14:48:23 (user time (UTC +1)) -> event info</p>

<p>What I have so far:</p>

<pre><code>&lt;?php
    $sql=mysql_query("SELECT * FROM table") or die("Come back later");
    while($row=mysql_fetch_array($sql)) {
        echo date('M, d H:i:s', strtotime ($row['date'])).' -&gt; '.$row['info'];
    }
?&gt;
</code></pre>

<p>With the diffence I want to detect user timezone.</p>

<p>Thank you.</p>

<p><strong>EDIT</strong>
I know I should not be using mysql_*</p>
