Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get timezone setting
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00396282
Message ID:
00396305
Vues:
8
>I need to get DATETIME() into Universal time (GMT, or as we call it Zulu). Here it would be
> zulu = (datetime() - 7 hours) && daylight saving
> or
>zulu = (datetime() - 8hours ) && Standard time
>But as this app will likely be used in other time zones, I want the info to come from the system.
>Any ideas will be welcome
>Never thought I would say it, but, Oracle is easier, it can do that automaticaly

Lorne,

Download my Windows Time code (under Win32 and Other APIs) from the file section here. FWIW, Windows uses UTC time, but formats it based on the date time settings.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform