原创 MySQL 函數使用場景
1.獲取當前時間函數 select now() 2.獲取當前時間 select current_time() 3.時間轉換字符串 select date_format(now(), '%Y-%m-%d'); 4.時間轉時間戳 s
原创 MySQL 時間、字符串轉換
1.獲取當前時間函數 select now() 2.獲取當前時間 select current_time() 3.時間轉換字符串 select date_format(now(), '%Y-%m-%d'); 4.時間轉時間戳 s