Convert UTC DateTime to another Time Zone

Posted by Mark Richman on Stack Overflow See other posts from Stack Overflow or by Mark Richman
Published on 2010-03-30T19:54:51Z Indexed on 2010/03/30 20:03 UTC
Read the original article Hit count: 446

Filed under:
|
|
|
|

I have a UTC DateTime value coming from a database record. I also have a user-specified time zone (an instance of TimeZoneInfo). How do I convert that UTC DateTime to the user's local time zone? Also, how do I determine if the user-specified time zone is currently observing DST? I'm using .NET 3.5.

Thanks, Mark

© Stack Overflow or respective owner

Related posts about timezone

Related posts about timezoneinfo