SQL dateadd 语句获得指定日期多少天之后的新日期 dateadd(day, 30, getdate()) 获得当前日期,30天以后的新日期 day:按天算。 30:当前日期之上累加的时间。 getdate():用户的原始时间,此例用的是当前日期