in reply to I can't subtract one DateTime object from another to get a DateTime::Duration in days
From memory, DateTime is a bit limited in that regard. You can use Date::Manip for complex date math.
A long, long time ago (in a galaxy unfortunately not far enough away), i wrote "Custom date calculations using Date::Manip", see 11109316
|
|---|