1) Find the last day of the month:
Date.DaysInMonth(YourYearH
ere, YourMonthHere)
Change YourYearHere for the year and YourMonthHere for the month you want to get the last day.
2) Please check this link:
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_25071818.html3) Subtract days:
Dim dt As Date = Now
dt = dt.AddDays(-30)
Add days:
Dim dt As Date = Now
dt = dt.AddDays(30)
jppinto