Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GMT time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00090272
Message ID:
00091712
Vues:
37
The offset in hours from GMT/UTC is not everywhere an integer.

Vlad

>In C here's what you need to do... I have wrapped this into wwIPStuff a while
>back to calculate time offset from my Web server to people downloading
>messages to their local machines. The functions returns NT UTC time which
>is actually -1 * GMT offset. Go figure - MS not following one of the
>most basic standards...
>
>/// Returns time offset from GMT in Hours (NT UTC time)
>int WINAPI GetTimeOffset()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform