in reply to Date Operations
This will return the new year, month, and day after adding the offset ($offset). Once you have those values, I think you can take it from there. Look up the documentation for this module. There are so many more features available and it will save you a ton of time and headaches!use Date::Calc qw(Add_Delta_Days); ($year, $month, $day) = Add_Delta_Days($old_year, $old_month, $old_day +, $offset);
|
|---|