Reputation: 4319
I have to add one month to todays date and have to get date after 1 month.Can anybody help?
Upvotes: 15
Views: 46163
Reputation: 34830
using Fluent DateTime http://fluentdatetime.codeplex.com/
Dim newDate as DateTime = 1.Months().FromNow()
Upvotes: 1
Reputation: 11957
dateAfterMonth = dateAfterMonth.AddMonths(1)
If you would add 1 month from now:
dateAfterMonth = DateTime.Now.AddMonths(1)
Upvotes: 6