DateTime.Now.AddDays(-1):表示24小时内
DateTime.Now.AddYears(-1):表示1年内
DateTime.Now.AddMonths(-1):表示1个月内
DateTime.Now.Date.ToString():表示当天
DateTime.Now.AddDays(-1):表示24小时内
DateTime.Now.AddYears(-1):表示1年内
DateTime.Now.AddMonths(-1):表示1个月内
DateTime.Now.Date.ToString():表示当天