Post Reply 
Year(s) Month(s) Day(s) between 2 dates
10-22-2015, 12:19 PM (This post was last modified: 10-22-2015 12:41 PM by Dieter.)
Post: #15
RE: Year(s) Month(s) Day(s) between 2 dates
(10-22-2015 11:44 AM)ggauny@live.fr Wrote:  In your "YMD" version WP 34s, I think it would be better to code step 47 with "DEC Y" and not with "DEC X". With "DEC X" I get an error of plus one year

It would be better to use the correct solution. #-) Sorry, the listing at this point had two lines mixed up (probably due to a copy&paste error). Changing the code to DEC Y is not the solution. The last RCL 01 command of course has to move three lines below, right before YEAR. I now have corrected both listings, and I also added a change in the second version (line 14 ff.) that saves two steps.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Year(s) Month(s) Day(s) between 2 dates - Dieter - 10-22-2015 12:19 PM



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