Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Logical ways to calculate being within two times (leaps)

by BrowserUk (Pope)
on Nov 28, 2016 at 22:50 UTC ( #1176749=note: print w/replies, xml ) Need Help??


in reply to Re^5: Logical ways to calculate being within two times (leaps)
in thread Logical ways to calculate being within two times

A negative leap second would suppress second 23:59:59 of the last day of a chosen month, so that second 23:59:58 of that date would be followed immediately by second 00:00:00 of the following date

Therefore, there is the possibility of a 59 second minute. Ergo, the loop could step over an entire minute and, if the timing of the running of the loop was right, never terminate.

No matter how slim the possibility, it exists.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^6: Logical ways to calculate being within two times (leaps)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1176749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2020-10-20 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (209 votes). Check out past polls.

    Notices?