Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Synchronize workstations with server's time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00809726
Message ID:
00809854
Vues:
15
>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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform