Jump to content

Recommended Posts

Posted

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

Posted

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]
Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...