timer start at specific time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

timer interval is 60 sec, i want ot set up timer start 15 sec later after
minute. for example if current time is 2:30:00, the timer starts 2:30:15,
then timer loop procedure every minute like 2:31:15, 2:32:15, 2:33:15.., can
anyone help this out? Thanks
 
One way to do that is having 2 timers. In the first one, you set the timer
to 15 seconds... and the other to 60 seconds. Set the 2nd timer do
Disable, and Enable only when the first timer fire...

Time1.Interval = 15 seconds
Timer2.Interval = 60 seconds
Timer2.Enabled = False

When Timer1 activates... u set:

Timer2.Enabled = True
Timer1.Enabled = False
 
Hi, My question is set up timer start 15 sec past minute. It always start 15
sec past minute. For example, if current time is 8:30:45, the timer starts on
8:31:15 am; if current time is 8:00:00, the timer starts on 8:00:15; if
current time is 8:55:15, the timer starts on 8:55:15, if current time is
8:59:00, the timer starts on 8:59:15 ...

Anyway timer always starts 15 seconds past minute, any more advice?

Thanks
 
Back
Top