DateTime t2=DateTime.Parse("12:12:45");DateTime t1=DateTime.Parse("14:45:35");int i=t1.CompareTo(t2);1 t1>t2-1 t1<t20 t1=t2