How can I do the following date manipulation:<BR><BR>VB6 Code:<BR><BR>Dim d as Date<BR><BR>d = Now - 2<BR><BR>If today was 1/4/2001, d would be set to 1/2/2001.<BR><BR>How do I do the same under VB.Net/ASP.Net? Thanks in advance.<BR><BR>Use the AddDays method:<BR><BR>Dim dtNow as DateTime = DateTime.Now<BR>dtNow.AddDays(-2)<BR><BR>There ya go! <BR><BR>Happy Programming!