Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to synchronize system date and time
Message
 
 
À
24/03/2007 22:38:58
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01207544
Message ID:
01208248
Vues:
29
>since we got a string called "ltNow"
>now how to set the sys date time with "ltNow" ?
>
>
>lcTemp = forcepath(sys(2015)+'.tmp', 'd:\aaa')
>Strtofile('x',m.lcTemp)
>Adir(arrFile,m.lcTemp)
>Erase (m.lcTemp)
>ltNow = (Ctot(Transform(Dtoc(arrFile[3],1),'@R ^9999/99/99')+' '+arrFile[4]))

What is the point of checking date and time on the local computer? Did you want to syncronize with a different computer?

You may want to check Re: System date Thread #1134668 Message #1134691

http://msdn2.microsoft.com/en-us/library/ms724942.aspx
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform