sql 時間函數,需要的朋友可以參考下。 ... 1. 當前系統日期、時間 select getdate() 2. dateadd 在向指定日期加上一段時間的基礎上,返回新的 datetime 值
www.jb51.net