Keep It Simple, Stupid | |
PerlMonks |
Re^5: Problem with DateTime subtract_datetimeby ikegami (Patriarch) |
on Feb 20, 2015 at 05:47 UTC ( [id://1117300]=note: print w/replies, xml ) | Need Help?? |
You didn't ask to the number of days and/or weeks between two dates. As I already mentioned, that would be $endDate->delta_days($dt1).
huh? They aren't. There is 1 month, 10 days, 17 hours and 1 minute between 2015-03-19 17:01 and 2015-02-30 00:00, and the output said 10 days.
In Section
Seekers of Perl Wisdom
|
|