Hi.
How do I programmatically stop a timer?
Perhaps there is a more elegant way to do this?
I want to start an action at exactly midnight (24:00 military time) and then have it repeat every 24 hours.
The way I want to do this, is that first I determine the current time and calculate how many seconds until midnight. Then I arm the timer with that number of seconds. Thus, the timer will fire off at midnight.
Next, I want to either turn this timer off, and start a new timer that I arm to fire off in 24 hour intervals, or I want to reset the original timer to a 24 hour interval.
Is this possible?
TIA, Elan
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign