TimeZoneInfo to TIME_ZONE_INFORMATION structure
Posted
by jaircazarin-old-account
on Stack Overflow
See other posts from Stack Overflow
or by jaircazarin-old-account
Published on 2009-06-04T01:04:48Z
Indexed on
2010/05/07
18:38 UTC
Read the original article
Hit count: 544
Hey, I've a TimeZoneInfo object and from this one I want to create a TIME_ZONE_INFO struct.
Bias, StandardDate and Daylightdate are pretty easy to obtain. However, I'm having problems getting standardbias and daylightbias. So the question is, How can I get the standardbias from a TimeZOneInfo object and how can I get the same thing for daylightbias (there is a AdjustmentRule.DaylightDelta, but as you can see I need the offset not the delta).
Thanks.
© Stack Overflow or respective owner