Any Windows API related to daylight saving available?
-
Hi, I was looking for an Windows API which would take the current date/time, local time zone and return true/false indicating whether the current time / time-zone is using daylight saving or not. If no API is available pls direct me to some useful links Thanks.
-
Hi, I was looking for an Windows API which would take the current date/time, local time zone and return true/false indicating whether the current time / time-zone is using daylight saving or not. If no API is available pls direct me to some useful links Thanks.
-
You could use GetSystemTime and GetLocalTime, and see if they are the same. Steve S Developer for hire
-
Hi, I was looking for an Windows API which would take the current date/time, local time zone and return true/false indicating whether the current time / time-zone is using daylight saving or not. If no API is available pls direct me to some useful links Thanks.
See
GetTimeZoneInformation()
.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb