How to add 30 days in date??
I want to get date from table and then i want to add some days i.e. 30days in 25/03/2009...then how can i use??and after adding i want to add it in the table....Please help me...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vimal KandasamyPosted Apr 1, 2009, 12:36 AM
to add days we can use AddDays() function...
ex:
DateTime da = DateTime.Parse("25/3/2009");
da=da.AddDays(30D);
now da = "24/4/2009"....
try it,
it may help you
kishan gajjarPosted Apr 1, 2009, 2:52 AM