aspx / c#.NET 时间对比 9月 30, 2010 - by 欧阳逍遥 - Leave a Comment DateTime dt = DateTime.Now; DateTime dt2 = DateTime.Now.AddDays(2); TimeSpan ts = dt2-dt; Response.Write(ts.TotalDays.ToString());