`
Windows API: Getting time zone information with GetTimeZoneInformation 2003-05-22 -- Derek Noffke Newsgroups: comp.lang.clarion
Look at http://msdn.microsoft.com for the full description.
I used the following prototype and structure
module('windows')
GetTimeZoneInformation(ulong lpTimeZoneInformation), ulong, raw, pascal,
name('GetTimeZoneInformation')
.
lpTimeZoneInformation group,pre(TZI)
Bias LONG
StandardName string(32)
StandardDate ulong
StandardBias LONG
DaylightName string(32)
DaylightDate ulong
DaylightBias long
.
code
if ~WC_GetTimeZoneInformation(address(lpTimeZoneInformation)) then
return(0) .
Derek Noffke
CapeSoft
"Doug"
Printed October 25, 2026, 6:39 am This article has been viewed/printed 36290 times. Google search has resulted in 363 hits on this article since January 25, 2004. |