I have client side date validation that requires one particular Date to be one month from a different date so I use d.setMonth(d.getMonth() + 1)
and mostly works just fine.
For end of month issues as in 1/31/2009, it returns 3/3/2009 and that's great - that's how I'd prefer it handle it.
In the code behind, I'm also generating this date but DateTime.AddMonths(1)
returns 2/28/2009 so that's no good.
Is there some way around this?