Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Synchronize workstations with server's time
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809726
Message ID:
00809854
Views:
14
>Hi to all!
>Any one who knows an API call to synch the workstation time with the servers time.
>
>I am using the command below which calls dos command NET TIME
>Run net Time /Set /yes &cservername
>
>Thanks

What operating systems does your application target? Are they all able to communicate over the internet?

If they are all running NT or 2000 you can use the NetRemoteTOD API command.
If your computers are running connected to the internet or have a SNTP time server on the network, your best bet is to use a SNTP client to synchronize them. You would get more accurate time.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform