The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

HP-41C Time Module: Calendar Routines
Message #1 Posted by Thomas Klemm on 9 Dec 2010, 1:58 p.m.

In this thread I've noted:

Quote:
I haven't analyzed the whole program yet but this algorithm is used:

if m <= 2:
   m = m + 12
   y = y - 1

jd = int(365.25*y) - int(y/100) + int(y/400) + int(30.6001*(m+1)) + d - 478164


In the meantime I had a look at the "Time Module VASM Listing 1C" on TOS. Here's a page of useful comments I found there. Probably I should have better started with that.

Regards
Thomas

Edited: 9 Dec 2010, 2:42 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall