I meant to add... I've uploaded a new version of DateTimeX::Auto so now it's possible to just do:
use DateTimeX::Auto qw(:auto); my $future = '2012-05-19' + 'P3Y4M2D'; # says '2015-09-21' say $future;
The duration format isn't the most readable, but it's an ISO standard (ISO 8601 duration), so fairly well documented if you Google for it.
In reply to Re^3: Adding Days To YYYYMMDD Date Format
by tobyink
in thread Adding Days To YYYYMMDD Date Format
by Zoomie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |