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:10:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/11/2001 07:03:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00586211
Message ID:
00586214
Vues:
19
>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform