Forum Discussion
5 Replies
Sort By
- karkadilValued ContributorIt's obvious, you had to save it before changing in order to restore it back later :)
- chrisbRegular ContributorYou can set your current system date and time by syncing with a server, for example:
sys.OleObject("WScript.Shell").Exec("net time \\<your server name here> /set /yes")
This script runs the net time command in the Windows shell. For more details see here: http://msdn.microsoft.com/en-us/library/ateytk4a(v=vs.84).aspx
And for info on OLEObject see here: http://support.smartbear.com/viewarticle/56929/ - chrisbRegular ContributorThis article explains the differences between using nettime and W32time:
http://blogs.msdn.com/b/w32time/archive/2009/08/07/net-time-and-w32time.aspx - cindyvanderlooNew Contributortnx all it works :)
Related Content
Recent Discussions
- 12 hours agovladd1