Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UTC to Local Time
Message
De
12/02/2014 11:46:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01594152
Message ID:
01594173
Vues:
59
West-Wind's wwAPI.prg!GetTimeZone()
*************************************************************
DEFINE CLASS wwAPI AS Custom
*************************************************************
***    Author: Rick Strahl
***            (c) West Wind Technologies, 1997
***   Contact: (541) 386-2087  / rstrahl@west-wind.com
***  Function: Encapsulates several Windows API functions
*************************************************************


************************************************************************
FUNCTION GetTimeZone
*********************************
***  Function: Returns the TimeZone offset from GMT including
***            daylight savings. Result is returned in minutes.
************************************************************************
>Hi Gang!
>
>Here is a question from me..........
>
>I have data in a field for UTC time. The users don't like this....... they find it confusing and want the data displayed in the LOCAL time instead.
>
>So do you have any code that converts the data in the field from UTC to THEIR LOCAL TIME (based on the PC settings).
>
>I looked on the web and didn't find anything for VFP for UTC to Local Time.
>
>Thanks a bunch !
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform