DateTime.AddMonths question

Posted by grady on Stack Overflow See other posts from Stack Overflow or by grady
Published on 2010-06-17T09:26:52Z Indexed on 2010/06/17 9:33 UTC
Read the original article Hit count: 257

Filed under:
|

Hello,

lets say, I have 28th of February 2010 and add one months to this date using AddMonths(1)...the resulting date is 28th of March, but not 31st of March, which I want. Is there a way to tweak that a bit so this works without adding custom code?

Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime