In V9 yo can use the GetEnv() functions get values from the OS. In v7 I think you will have to use get.dll. it should have a function to get the server time. ...
Maybe there is an easier way, but this one will work. you call a batch with the following command: "net time \\SERVERNAME /Y >Tempfile.txt" you end up having...
Another trick we have used is to create an empty text file on the server and read the date/time stamp of the file with a get.dll function, then erase the file....
Heri, As Zvi said, you can use for Windows networks the command line "NET TIME". Point it to a server and then redirect the output to a file. Read the contents...