时间格式化

SELECT DATE_FORMAT(NOW(),'%Y-%m-%d');

---》

 

原文地址:https://www.cnblogs.com/wzhanke/p/4259836.html