.NET Get timezone offset by timezone name

Posted by Daniil Harik on Stack Overflow See other posts from Stack Overflow or by Daniil Harik
Published on 2010-06-05T07:19:29Z Indexed on 2010/06/05 7:22 UTC
Read the original article Hit count: 634

Filed under:
|
|
|

Hello,

In database I store all date/times in UTC.

I know user's timezone name ("US Eastern Standard Time" for example).

In order to display correct time I was thinking that I need to add user's timezone offset to UTC date/time. But how would I get timezone offset by timezone name?

Thank You!

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET