Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I convert a GMT Time value?
Message
De
27/11/2001 07:22:07
 
 
À
27/11/2001 07:10:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00586211
Message ID:
00586223
Vues:
13
>>I need to convert a GMT DateTime value to the appropriate local time value.
>>Does anybody know of any functions that obtain the GMT offset?
>>
>>TIA
>
>If you know your time-zone offset (for instance, "+2"), just add that many hours to the GMT time. For DateTime values, you have to add seconds, so you have to multiply the hours by 3600 (seconds per hour).
>
>HTH, Hilmar.

So true...but how do I get the time-zone offset?
Unless intoxicated, I usually know where I am, but I dont know where in the world the software is running :-))
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform