From a run command, you can:
NET TIME \\ServerName /SET /YES
For additional help. From a DOS prompt, type:
NET /?
Not as elegant as Vlad's solution, but quick to implement.
Glenn
>I have a NT DataServer and the app installed on each client machine. When the user log in onto de system, i need to take the date and time from the NT DataServer.
>Does anybody know how can i do that?, any idea, code, etc. will be appreciated.
Glenn