new hours, minutes, seconds;gettime(hours, minutes, seconds);if(hours == 24 && minutes == 0 && seconds == 0) { var ++; // changetextdraw, etc...}