Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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"
Today is November 21, 2024, 3:42 am This article has been viewed 35286 times. Google search has resulted in 363 hits on this article since January 25, 2004.
|
|