in reply to Re^4: Logical ways to calculate being within two times (leaps)
in thread Logical ways to calculate being within two times
The code hits each minute by adding 60 to epoch time values. So a leap second can't cause that code to miss a particular minute. Had the code done something like sleep(60), then a negative leap second or even just a bit of the system being busy could trip it up.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Logical ways to calculate being within two times (leaps)
by BrowserUk (Patriarch) on Nov 28, 2016 at 22:50 UTC |
In Section
Seekers of Perl Wisdom