string re_dat = string.Empty; re_dat = SDKClass.Selct_Date_now(); // return today date from database bool date_now = DateTime.Parse(re_dat).AddDays(1); if(date_now) { Response.Write("tomorrow"); }
DateTime toCheck = DateTime.Parse(re_dat).Date; if (DateTime.Now.AddDays(1).Date == toCheck) { ... }
var yourDate = DateTime.Now; // provide your date; if (yourDate == DateTime.Now.AddDays(1)) { // this is tomarrow }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)