here is the command line, you can use the shell function to execute it.... I believe you need to have permission to access the server for this to work...

net time \\Servername /set /yes