You could use instant interrupts elapsed timer example. Then look for the flag daychange. Check out this example for 24 hour timer: http://darreltaylor.com/DT_INTS-18/elapsed.html Keep an eye on DaysChange, and you should be able to make it happen.