CurtisWhitby Posted July 4, 2012 Share Posted July 4, 2012 Hi, Would it be possible to make a script that calculates the difference between the current time and 1:30PM? Then would it be possible to loop it so it counts down every second? Many Thanks, Curtis Link to comment Share on other sites More sharing options...
hannes08 Posted July 4, 2012 Share Posted July 4, 2012 Hello Curtis, look at the _DateDiff() function in the helpfile. Surely a looping function with a sleep(1000) would do the trick. Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
CurtisWhitby Posted July 4, 2012 Author Share Posted July 4, 2012 Hi Hannes, Thanks for the help, The _DateDiff() almost did what I wanted it to. It calculated the difference in seconds and displayed it were I wanted it. The only problem is I cannot work out how to convert the total seconds into the format HH:MM:SS to display properly. Any suggestions? Thanks, Curtis 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