` Getting time zone information with GetTimeZoneInformation (Derek Noffke) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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" 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 > >


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.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: