Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A way to change system date/time programatically from VF
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135525
Message ID:
00135821
Vues:
11
>>>Better use SetLocalTime(). SetSystemTime() uses UNC/GMT time.
>>>
>>Hi Vlad,
>>
>>Yup, my bad.:-) Everything else, however still applies, and the declaration simply needs to have the name changed to SetLocalTime().
>
>Right. It may be worth to notice here that using GetSystemTime() and GetLocalTime(), one can find the difference between local and UNC/GMT time.
>
Hi Vlad,

Hmm, perhaps we have the basis for a few future FAQs. GetSystemTime(), IMHO, can be very valuable for time stamping record changes in certain circumstances.
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