Post Reply 
Date addition: can it be done in a single HP 65 program card?
01-02-2020, 01:38 PM
Post: #6
RE: Date addition: can it be done in a single HP 65 program card?
(01-02-2020 09:09 AM)Don Shepherd Wrote:  Dave, the answer to your problem can be found here:

https://web.archive.org/web/201705071336...rithm.html

Thanks Don, I'll see if I can scrape any wisdom from that listing. The presence of the mod operator worries me a bit, since that isn't directly available on the 65. Maybe the day-number-from-date formula could be simplified a bit, but I don't think I can factor out y since that's all integer division. I don't see the same explicit tests for the month being greater than 2, but I think the same (or a similar) effect is contained in the two integer division and mod calculations just before the return.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Date addition: can it be done in a single HP 65 program card? - Dave Britten - 01-02-2020 01:38 PM



User(s) browsing this thread: 11 Guest(s)