Post Reply 
(35S) years, months and days between two dates
06-17-2016, 06:09 PM (This post was last modified: 06-17-2016 06:19 PM by Dieter.)
Post: #12
RE: HP 35s: years, months and days between two dates
(06-17-2016 11:46 AM)ggauny@live.fr Wrote:  Alas, 02.022016 31.082016 give 6m and 29 d
and 02.022015 31.082015 give the same result : 6m and 29d

I think that in 2016 is 28 d and in 2015 is 27 d (and six months).

I would say that 6 months and 29 days is the correct answer in both cases. It's 6 months from 2 Feb to 2 Aug, and then 29 days until 31 Aug. Both in a leap year and in a common year.

Things are different if day2 is less than day1. For instance from 20.022015 to 10.082015 it's 5 months and 18 days, while from 20.022016 to 10.082016 it's 5 months and 19 days.

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


Messages In This Thread
RE: HP 35s: years, months and days between two dates - Dieter - 06-17-2016 06:09 PM



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