# from Johan Vromans # on Thursday 03 January 2008 14:48: >> 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.
No. This is *nominal* math. If you want to add 30 days, just add 30 days. Adding months is designed to give you the answer which "makes the most sense" as in "two months from now". Yes, it is a bit fuzzy. It always just increments the month (and then "deals with" the day.) --Eric -- "Because understanding simplicity is complicated." --Eric Raymond --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------