Eric Wilhelm <[EMAIL PROTECTED]> writes:

>   my $date = today + 3*years + 3*months + 3*days;
> Careful, that may not be the same as 'today + 3*days + 3*months + 
> 3*years'.

Yikes!

>  The caveat may apply if today is any day >= 28 -- if we run 
> out of days in the destination month, we stop at the end.

I'd say that January 30 + 1 month should be March 1, not February 29.

-- Johan

Reply via email to