mysql 返回當前日期的函數

curdate() 返回當前日期 返回年月日 now() 返回當前日期 返回年月日 時分秒 curTime() 返回當前日期 返回時分秒時間 樣例: select curdate(),now(),curTime() from dual; 結果: DATE_SUB() 函數從日期減去指定的時間間隔。date 參數是合法的日期表達式。expr 參數是您希望添加的時間間隔。 樣例:date_sub( C
相關文章
相關標籤/搜索