Post Reply 
Year(s) Month(s) Day(s) between 2 dates
10-29-2015, 09:56 AM (This post was last modified: 10-29-2015 10:20 AM by fhub.)
Post: #38
RE: Year(s) Month(s) Day(s) between 2 dates
(10-29-2015 07:52 AM)Didier Lachieze Wrote:  With your program there are also some discontinuities:
25.012015 to 28.022015 --> 1 month 3 days
25.012015 to 01.032015 --> 1 month 7 days (+4 days!)
That's a very bad example and can in no way be compared to the illogical examples that I've mentioned above:
In your example there's a change in the month of the end date, and so of course there's a 'discontinuity' (I'm sure you also know other discontinuous math functions, don't you?) - I never stated that this DMY function should be continuous.

The last example that I have given shows that with WolframAlpha's method even 3 consecutive (i.e different) dates in the same month give the same result for one single end date, and that's simply nonsense, point!

Franz
Visit this user's website 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 - fhub - 10-29-2015 09:56 AM



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