<p>I am probably doing something wrong -- but cant figure why.
I have a DateTime field in my DB keeping a UTC time </p>

<p>My server is in the US, and the browser is in Europe. </p>

<p>The PageLoad Code is as follow:</p>

<pre><code>DateTime t = DateTime.SpecifyKind((DateTime)rdr["startTime"], DateTimeKind.Utc);
label1.Text = t.ToLocalTime().ToString();
</code></pre>

<p>The time displayed I get is US localtime and not Europe. What should I do to display the browser's localtime?</p>

<p>Thanks!</p>

One technique is to detect the client timezone offset (in minutes) using JavaScript on the client browser:
```
```
alert((new Date()).getTimezoneOffset());
```
```
This can then be sent back to the server and stored in the session, or a cookie, and used to offset the UTC dates displayed to them. Alternatively, another technique is to have user profiles where they can specify their timezone.