mysql時間戳轉換問題

1. select now() 2.select unix_timestamp(); 單位是秒 3.將時間戳轉爲有格式的時間 select from_unixtime(unix_timestamp()); 4.格式化時間 select date_format('2019-06-13 17:23:36', '%Y-%m-%d'); select date_format(from_unixtime(u
相關文章
相關標籤/搜索