期望得到20170719这样的时间字符串
select date_format(now(),‘%Y%m%d‘);
mysql 时间格式化
原文:http://www.cnblogs.com/jwentest/p/7206487.html