fix to allow schedulePeriodic to work after 2262

Thinking further I realized that the schedulePeriodically in #1162 would begin to fail at ```Fri Apr 11 16:47:16 PDT 2262```

If this is deemed too soon to fail, then the solution in this commit will still be working in 292million years.