mysql格式化时间格式


select DATE_FORMAT(ts, '%Y-%m-%d') as dailyDate from table1

相关