Information générale
Catégorie:
Fonctions Windows API
...You're relying on the LocalFileTimeToFileTime() Win32 API function for conversion. This function uses the current daylight/standard time, not the one in effect for the datetime to be converted. This means the current difference between local and UTC times is used, which may be different than the one for the input datetime. In which case, I think it's easier to retrieve the difference using the GetTimeZoneInformation() function and get the same result. :(
Vlad
>No. It relies on the system (API), but to make the appropriate adjustments. If the particular computer isn't appropriately configured...There might be a problem.
Précédent
Suivant
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