Using Win32 functions in Visual FoxPro Image Gallery
Time
..msdn
CompareFileTime
FileTimeToLocalFileTime
FileTimeToSystemTime
GetFileTime
GetLocalTime
GetSystemTime
GetSystemTimeAdjustment
GetSystemTimeAsFileTime
GetTickCount
GetTimeZoneInformation
LocalFileTimeToFileTime
QueryPerformanceCounter
QueryPerformanceFrequency
SetFileTime
SetTimeZoneInformation
SystemTimeToFileTime
Code examples:
Retrieving information specific to the current Time Zone
GetTimeZoneInformation
    Add comment     W32 Constants      Translate this page
Retrieves the current time-zone parameters. These parameters control the translations between Coordinated Universal Time (UTC) and local time.
Code examples:
Retrieving information specific to the current Time Zone
Declaration:
DWORD GetTimeZoneInformation(
  LPTIME_ZONE_INFORMATION lpTimeZoneInformation // time zone
);
FoxPro declaration:
DECLARE INTEGER GetTimeZoneInformation IN kernel32;
    STRING @ lpTimeZoneInformation
Parameters:
lpTimeZoneInformation
[out] Pointer to a TIME_ZONE_INFORMATION structure to receive the current time-zone parameters.
Return value:
If the function succeeds, the return value is one of the following values:
#DEFINE TIME_ZONE_ID_UNKNOWN 0
#DEFINE TIME_ZONE_ID_STANDARD 1
#DEFINE TIME_ZONE_ID_DAYLIGHT 2
Usage:
#DEFINE TIME_ZONE_SIZE  172

LOCAL cTimeZone, cTimeZone_, nId
cTimeZone = REPLICATE(CHR(0), TIME_ZONE_SIZE)

nId = GetTimeZoneInformation(@cTimeZone)
My comment:
This registry key contains attributes for all Time Zones.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
Word Index links for the GetTimeZoneInformation :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-25 12:00:00
Modified: 2009-01-06 16:01:00
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.212.93)
13 sec.Function: 'DeleteEnhMetaFile'
26 sec.Function: 'MultiByteToWideChar'
39 sec.Function: 'CryptEnumProviderTypes'
52 sec.Function: 'RealDriveType'
1.08 min.Function: 'GetProcessVersion'
1.3 min.Function: 'FormatMessage'
1.53 min.Function: 'waveOutWrite'
1.77 min.Function: 'FreePrinterNotifyInfo'
2.02 min.Function: 'CryptDestroyHash'
2.25 min.Function: 'CloseWindow'
Google
Advertise here!