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