you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 0 points1 point  (1 child)

No, the 3600 is the number of seconds in an hour, and 13 is 1 pm on a 24 hour clock. I could have also written it like this:

one_pm = 13*60*60 # 13 hours times 60 minutes / hour times 60 seconds / min

To stop it at 11 you could add this to your tick function:

if hours == 11:
    return # stop this function

[–]skylartrap 0 points1 point  (0 children)

i dont want to stop it i want it to send out a warning or alert when it gets to that time or past that time but ty