Date Calculation
I need to know one thing. Suppose, date is october 1 2008(1.10.2008). If 30 days is added to that date then the result will be 31.10.2008. How could do that automatically using C#.net
I need help regarding this problem.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Oct 22, 2008, 5:21 AM EDT
Like this:
DateTime dt = DateTime.Parse("October 1 2008");
dt = dt.AddDays(30);
MessageBox.Show(dt.ToString("dd.MM.yyyy"));
Shomen Deb26 reputationPosted Oct 22, 2008, 9:51 PM EDT