(15C) Julian Day to Day of Week [ISO; 12C Formula]
|
09-18-2016, 05:39 PM
(This post was last modified: 09-18-2016 05:57 PM by Dieter.)
Post: #2
|
|||
|
|||
RE: (15C) Julian Day to Day of Week [ISO; 12C Formula]
(08-26-2016 01:39 PM)Nick Wrote: Formula: ISO Day of Week = JD MOD 7 + 1 Yes, using FRAC for the mod function will produce roundoff errors. But why don't you simply do it this way? Code: 01 GSB 0 That's shorter and does not require any rounding. BTW, I assume the first step is not LBL 0 but GSB 0 (to call the JDN routine). ;-) While we're at it: may I link to my HP35s calendar programs? They convert from and to JDN, calculate the day of week and implement a ΔDAYS and DATE+ function and more. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(15C) Julian Day to Day of Week [ISO; 12C Formula] - Nick - 08-26-2016, 01:39 PM
RE: (15C) Julian Day to Day of Week [ISO; 12C Formula] - Dieter - 09-18-2016 05:39 PM
RE: (15C) Julian Day to Day of Week [ISO; 12C Formula] - Divasson - 08-24-2024, 12:26 PM
RE: (15C) Julian Day to Day of Week [ISO; 12C Formula] - ThirdPoliceMan - 08-26-2024, 02:50 PM
|
User(s) browsing this thread: 1 Guest(s)