Post Reply 
(HP-65) Date Functions
01-03-2020, 04:46 PM
Post: #3
RE: (HP-65) Date Functions
(01-03-2020 04:23 PM)Don Shepherd Wrote:  I tip my hat to you, Dave, you are "da" man. I started to enter an equation yesterday from a reference I pointed out to you and I gave up part way through because I knew I couldn't possibly fit all the required code in 100 (or 200) steps.

I'll run some tests on these two programs today and verify.

Don

Thanks, let me know if you find any weird edge cases that break it.

I had to ditch the 1720982 day offset for true Julian day numbers in order to free up enough steps to fit everything in. Consequently, the day-of-week calculation changes from (D+1) mod 7 to (D+5) mod 7. Seems to work, though.

I can't decide if I want to make the day-number-to-date routine save the previous X value in Y. I might have to trim a couple of steps to make that fit.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(HP-65) Date Functions - Dave Britten - 01-03-2020, 04:11 PM
RE: (HP-65) Date Functions - Don Shepherd - 01-03-2020, 04:23 PM
RE: (HP-65) Date Functions - Dave Britten - 01-03-2020 04:46 PM
RE: (HP-65) Date Functions - Albert Chan - 01-04-2020, 01:03 PM



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