MySQL日期与时间戳互转函数

-- 时间戳转日期
select FROM_UNIXTIME(1531714980);

#日期转时间戳
Select UNIX_TIMESTAMP('2018-07-16 12:23:00');
原文地址:https://www.cnblogs.com/shy1766IT/p/9318468.html