DateTime EndTime = Convert.ToDateTime(DateTime.Now);
DateTime
StartTime = Convert.ToDateTime("10:10");
if
(EndTime.TimeOfDay.Ticks > StartTime.TimeOfDay.Ticks)
{
MessageBox.Show("End Time not grater then Start Time");
}
No comments :
Post a Comment