The solution as by hilmar will work if the user who is running the application is having permissions to write on the server.
Otherwise, you can use the system command 'NET TIME \\mySERVERNAME > myFile'
and then read the file for date & time of the server.
---
Raj
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only