标签:int 日期类 art tar start time datetime rtt date
DateTime startTime = Convert.ToDateTime("2017-1-9");
DateTime endTime = Convert.ToDateTime("2017-2-19");
TimeSpan ts = endTime - startTime;
int days = ts.Days;
days: 间隔的天数。
标签:int 日期类 art tar start time datetime rtt date
原文地址:http://www.cnblogs.com/ggll611928/p/6428005.html