MySQL中时间、时间戳和字符串之间的转换

涉及的函数        date_format(date,format)     //时间转换成字符串        unix_timestamp()  //时间或字符串转换成时间戳        str_to_date(str,format)  //字符串转换成时间        from_unixtime(unix_timestamp,format)  //时间戳转换成时间或字符串 一、获取
相关文章
相关标签/搜索