Information générale
Catégorie:
Fonctions Windows API
you can use the GetTimeZoneInformation Win32 API call
Arnon
>
>How can I tell what timezone the computer running my application is in?
>Actualy, I need to know how many hours they are off from GMT (Greenwich
>Mean Time), taking daylight savings time into account.
>
>For instance, I'm in EST and right now we're 4 hours behind GMT (we're in
>daylight savings time right now. Normaly we'd be 5 hours behind GMT). So
>to covert a GMT time to local time, I'd subtract 4 hours.
>
>
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement