2 * Win32 kernel functions
4 * Copyright 1995 Martin von Loewis and Cameron Heide
16 /***********************************************************************
17 * GetTimeZoneInformation (KERNEL32.302)
19 DWORD
GetTimeZoneInformation(LPTIME_ZONE_INFORMATION tzinfo
)
23 memset(tzinfo
, 0, sizeof(TIME_ZONE_INFORMATION
));
26 lt
= mktime(localtime(&gmt
));
27 tzinfo
->Bias
= (gmt
- lt
) / 60;
28 tzinfo
->StandardBias
= 0;
29 tzinfo
->DaylightBias
= -60;
31 return TIME_ZONE_ID_UNKNOWN
;