Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A way to change system date/time programatically from VF
Message
 
À
12/09/1998 11:09:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135525
Message ID:
00135822
Vues:
9
Hi Paul and George,

Is there a way to get the System time of an NT Server from any workstation?

Currently I am using a DOS command and I hate it. <g>

TIA
Kamal

>>>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.
>
>Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform