I think that approach makes the most sense. The programmer can choose whether or not to verify the dates before adding/subtracting months (if an error were returned, the programmer would be forced to check each date). And, I agree with Blue that adding one month should always return a date in the next month, and should not wrap over to the month after that.
In reply to Re: Year /^\d+$/ bug!
by chipmunk
in thread Year /^\d+$/ bug!
by $code or die
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |