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.....
時間差
根據自己的情況是用這種,還是上