mysql時間處理

#mysql 時間轉字符串 select date_format(now(), '%Y-%m-%d %H:%i:%s') from dual; #mysql 字符串轉時間 select now(),str_to_date('2018-07-30 16:41:51', '%Y-%m-%d %H:%i:%s') from dual;   #mysql當前時間減15天 select date_sub(n
相關文章
相關標籤/搜索