DateTime time = DateTime.Now; //2014-12-18
time.AddMonths(-1); //2014-11-18
time.AddMonths(1);//2015-1-18
time.AddDays(1);//2014-12-19
时间: 2024-11-15 10:25:39
DateTime time = DateTime.Now; //2014-12-18
time.AddMonths(-1); //2014-11-18
time.AddMonths(1);//2015-1-18
time.AddDays(1);//2014-12-19