DateTime d = DateTime.Parse((DateTime.Now.ToString("hh:mm"))); if (d <= MailTime) { Response.Write("yes"); }
Convert.ToDateTime(DateTime.Now.ToString("hh:mm"))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)