Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the current time of a computer in a network !
Message
From
29/07/2003 05:27:27
Goran Zidar
National Australia Bank
Melbourne, Australia
 
 
To
29/07/2003 04:26:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00814446
Message ID:
00814449
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform