MySQL格式化时间date_format

select date_format(deal_date, '%Y年%m月%d日 %H时%i分%s秒'), date_format(deal_date, '%Y-%m-%d %H:%i:%s')  from tb_sm_queue_log

原文地址:https://www.cnblogs.com/tc310/p/11405017.html