Mysql服务器 为了
SELECT
DAYOFYEAR( FROM_UNIXTIME(unix_birthday, "%Y-%m-%d") ) as birthday_day,
FROM_UNIXTIME(unix_birthday, "%Y-%m-%d") as usual_date,
unix_birthday
FROM workers
返回
unix_birthday | usual_date | day_number
246 | 1980-09-02 | 336690000
245 | 1990-09-02 | 652222800
为什么日子不同(245和246)?