How to get a different Timezone in .net with code

Posted by Miau on Stack Overflow See other posts from Stack Overflow or by Miau
Published on 2010-04-01T11:08:00Z Indexed on 2010/04/01 11:13 UTC
Read the original article Hit count: 308

hi there

There must be a simple way to get different timezones with code (ie without changeing your system timezone) So far you can do something like

var timezone =  TimeZone.CurrentTimeZone;

but I cant see any other way to get a different timezone? or should I just use TimeSpan?

© Stack Overflow or respective owner

Related posts about timezone

Related posts about datetime