Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to synchronize system date and time
Message
 
 
To
24/03/2007 22:38:58
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01207544
Message ID:
01208248
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform