mysql获取当前年份
SELECT DATE_FORMAT(NOW(), '%Y')
mysql获取当前月份
DATE_FORMAT(NOW(), '%m')
mysql获取当日
DATE_FORMAT(NOW(), '%d')
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/1126
mysql获取当前年份
SELECT DATE_FORMAT(NOW(), '%Y')
mysql获取当前月份
DATE_FORMAT(NOW(), '%m')
mysql获取当日
DATE_FORMAT(NOW(), '%d')
来源:https://www.02405.com/archives/1126