日期:2014-05-20 浏览次数:20890 次
DateTime time1 = DateTime.Parse("2012-09-01 12:13:13"); DateTime time2 = DateTime.Parse("2012-09-01 14:33:13"); TimeSpan ts= time2 - time1; Response.Write(ts.TotalMinutes);