MySQL里的时间格式化

select date_format(p.create_time, '%Y-%m-%d %H:%i:%S') from t_person p;

 

posted @ 2022-07-20 15:34  夏威夷8080  阅读(75)  评论(0编辑  收藏  举报