TimeSpan ts1 = new TimeSpan(time.Ticks);
TimeSpan ts2 = new TimeSpan(DateTime.Now.Ticks);
TimeSpan ts = ts2.Subtract(ts1).Duration();
ts.hours,ts.day.....
时间差
根据自己的情况是用这种,还是上
TimeSpan ts1 = new TimeSpan(time.Ticks);
TimeSpan ts2 = new TimeSpan(DateTime.Now.Ticks);
TimeSpan ts = ts2.Subtract(ts1).Duration();
ts.hours,ts.day.....
时间差
根据自己的情况是用这种,还是上