On 20 July 2017 at 22:13, Bill Godfrey <[email protected]> wrote:
> There are 17 leap days from 1900 to 1970, not 16. Just write them out > starting at 1904, 1908... and count them. > > That would make the results one day later than they should be. > Dang... Obi-Wan error. I just tried it on my (10) fingers, and with carry it does indeed come to 17. As it turns out, the code (still in use!) has been used only to generate part of a session id, so there is no requirement that it match the standard, and doubtless that's why no one has caught it in 18 years or so. But still, I'm annoyed/embarassed at such carelessness. > Other than that, the code is a nice improvement. Thanks for posting. > Thank you. Though "nice improvement" and "correct results" would have been better. Tony H. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
