Daylight or standard time
Posted: Mon Jan 11, 2016 8:03 pm
I'm drawing a blank here...
when displaying the time, i'd like to also display whether it's daylight standard time or daylight savings time.
there's a windows function that will return that, but i have never done wrappers for that...
https://msdn.microsoft.com/en-us/librar ... 2147217396
DWORD WINAPI GetDynamicTimeZoneInformation(
_Out_ PDYNAMIC_TIME_ZONE_INFORMATION pTimeZoneInformation
);
if it returns a 2,. it's daylight savings time, otherwise it's standard time.
does anyone have a function that handles this ?? or, can you tell me how to call it ??
when displaying the time, i'd like to also display whether it's daylight standard time or daylight savings time.
there's a windows function that will return that, but i have never done wrappers for that...
https://msdn.microsoft.com/en-us/librar ... 2147217396
DWORD WINAPI GetDynamicTimeZoneInformation(
_Out_ PDYNAMIC_TIME_ZONE_INFORMATION pTimeZoneInformation
);
if it returns a 2,. it's daylight savings time, otherwise it's standard time.
does anyone have a function that handles this ?? or, can you tell me how to call it ??