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
相关文章
相关标签/搜索