Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 6:37 am This article has been viewed 35287 times. Google search has resulted in 363 hits on this article since January 25, 2004.
|
|