Subroutine to apply Daylight Bias to display time in local DST?

Posted by vfclists on Stack Overflow See other posts from Stack Overflow or by vfclists
Published on 2010-05-06T09:26:42Z Indexed on 2010/05/06 9:28 UTC
Read the original article Hit count: 260

Filed under:
|
|

UK is currently 1 hour ahead of UTC due to Daylight Savings Time. When I check the Daylight Bias value from GetTimeZoneInformation it is currently -60. Does that mean that translating UTC to DST means DST = UTC + -1 * DaylightBias, ie negate and add?

I thought in this case for instance adding Daylight Bias to UTC is the correct operation, hence requiring DaylightBias to be 60 rather than -60.

© Stack Overflow or respective owner

Related posts about time

Related posts about utc