MySQL获取时间戳、毫秒数
current_timestamp(3)2018-09-20 17:56:39.916unix_timestamp(current_timestamp(3))1537437399.934select REPLACE(unix_timestamp(current_timestamp(3)),'.','');1537437399953
·
current_timestamp(3)
2018-09-20 17:56:39.916
unix_timestamp(current_timestamp(3))
1537437399.934
select REPLACE(unix_timestamp(current_timestamp(3)),'.','');
1537437399953
并不很精确、可以用用
附上时间戳转换地址
时间戳转换地址
https://tool.lu/timestamp
更多推荐
已为社区贡献1条内容
所有评论(0)