in reply to Re: Problem with DateTime subtract_datetime
in thread Problem with DateTime subtract_datetime
So, if $endDate = "2015-02-24", the result I am getting is 5 months, 2 weeks, 0 days. Whereas, the result should be 0 months, 0 weeks, 5 days.
However, if $endDate = "2015-06-16' the result is: 3 months, 3 weeks, 3 days. That is correct.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Problem with DateTime subtract_datetime
by runrig (Abbot) on Feb 19, 2015 at 17:11 UTC | |
Re^3: Problem with DateTime subtract_datetime
by phildeman (Scribe) on Feb 19, 2015 at 17:04 UTC |