摘要:
publicstringDateDiff(DateTime endtime,DateTimestarttime){stringdateDiff=null;TimeSpants1=newTimeSpan(endtime.Ticks);TimeSpants2=newTimeSpan(starttime.Ticks);TimeSpants=ts1.Subtract(ts2).Duration();dateDiff=ts.Days.ToString()+"天"+ts.Hours.ToString()+"小时"+ts.Minutes.ToString()+&quo 阅读全文