` Printed Icetips Article

Icetips Article



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"  wrote in message
news:3ecc52b1$1@news.softvelocity.com...
> Hello,
>
> Does anyone know the API and prototype for getting a local pc's time zone?
>
> TIA,
> Doug
>
>



Printed November 21, 2024, 10:16 am
This article has been viewed/printed 35287 times.
Google search has resulted in 363 hits on this article since January 25, 2004.