The 41CX manual states at p. 66:
I am implementing a program to convert a date into Julian Date. And by using the DDAYS function, this can be done very simple:https://literature.hpcalc.org/community/hp41cx-om-vol1-en.pdf wrote:Calendar Functions
Any date from October 15, 1582 (the beginning of the Gregorian calendar) through September 10, 4320
is valid for calculations with dates.
Code: Select all
01 LBL "→JD"
02 1,012
03 DDAYS
04 2451545
05 +
06 END
I have also implemented an algorithm described in "Astronomical Formulæ for Calculators" by Jean Meeus, which practically has no limits (only number representation), this program takes up ca 50 lines of code - 10 times as long as the above.
I appologize, if this is not the right place to ask, maybe another forum here on SwissMicros? Or perhaps at Free42 github?
I also appologize to @rprosperi, if this matter has already been adressed, I have done my best to search this forum about it, but without any luck. I hope I'm still relatively new here in bob's eyes
I understand, that it is important to maintain as close to 100% compatability with the HP42 and HP41CX (Time module) as possible, but will it make a difference to expand the valid date range?