mysql 时间日期函数 September 21, 2015 获取 datetime 列的年月日 1SELECT DISTINCE YEAR(t), MONTH(t), DAYOFMONTH(t) FROM <table-name>;