mankeluvsit Posted October 15, 2010 Share Posted October 15, 2010 im trying my best to create a way to do this, instead of wasting hours id thought id ask you guys. i need to have a msg box come up to be able to setup the system time (say its 1:00, and i want to set it to 3:00), without having to go through all of the time/date crap any help would be appreciated. and yes i did use search function and help. Link to comment Share on other sites More sharing options...
saywell Posted October 15, 2010 Share Posted October 15, 2010 and yes i did use search function and help.In that case, you would have found _Date_Time_SetLocalTime !William Link to comment Share on other sites More sharing options...
JoHanatCent Posted October 15, 2010 Share Posted October 15, 2010 Or simply. #requireadmin $time = '03:00:00' RunWait( @COMSPEC & ' /c Echo ' & $time & '>time.tmp&&time < time.tmp&&del time.tmp', '', @SW_SHOW ) MsgBox(64, 'Result', 'The time now is ' & @HOUR & ':' &@min & ':' & @sec ) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now