Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the current time of a computer in a network !
Message
De
29/07/2003 05:27:27
Goran Zidar
National Australia Bank
Melbourne, Australie
 
 
À
29/07/2003 04:26:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00814446
Message ID:
00814449
Vues:
8
This message has been marked as a message which has helped to the initial question of the thread.
Hello Dragos

We had a similar requirement and while the API functions you are looking for do exist our tests indicated that the process was quite slow, plus it sometimes involved having to set one of the computers as a time server and a whole lot of extra stuffing around. So we used the simple technique of creating a file on the PC we wanted to know the current time of using ADIR() to get the file date and time and then deleting the file straight afterwards. The only requirement is that the program have write access to a directory on the PC. If that is not a possibility then this method will not work for you but assuming you want to get the date and time of a PC which is holding the database then having write access shouldn't be a limiting factor.

I hope that suggestion helps.

Good luck
Goran
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform