MySQL 使用FROM_UNIXTIME把时间戳转化成日期

select FROM_UNIXTIME(`addtime`, '%Y-%m-%d') as ndate
from tongji
group by ndate