SyntaxFix
Write A Post
Hire A Developer
Questions
Use DateTime.AddDays() (MSDN Documentation DateTime.AddDays Method).
DateTime.AddDays()
DateTime tomorrow = DateTime.Now.AddDays(1); DateTime yesterday = DateTime.Now.AddDays(-1);