HP Forums

Full Version: HP-41C Time Module: Calendar Routines
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.