Dim Dt as datedt = date.todaydt.adddays(-2) 'This code will subtract two days from the current datemsgbox dt
Dim dt As Date Dim ts As TimeSpan dt = Date.Today dt = dt.Add(ts.FromDays(-2)) msgbox dt