Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
>Hi Gang!
>Here is a question from me..........
>I have data in a field for UTC time. The users don't like this....... they find it confusing and want the data displayed in the LOCAL time instead.
>So do you have any code that converts the data in the field from UTC to THEIR LOCAL TIME (based on the PC settings).
>I looked on the web and didn't find anything for VFP for UTC to Local Time.
>Thanks a bunch !
There is a Win32 function, GetLocalTime() that can be used. GetSystemTime() returns the time in UTC. If you lookup those on MSDN you'll find functions which allow you to convert the two.
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