MySQL中時間、時間戳和字符串之間的轉換

涉及的函數        date_format(date,format)     //時間轉換成字符串        unix_timestamp()  //時間或字符串轉換成時間戳        str_to_date(str,format)  //字符串轉換成時間        from_unixtime(unix_timestamp,format)  //時間戳轉換成時間或字符串 一、獲取
相關文章
相關標籤/搜索