datetime与timestamp相互转换

select unix_timestamp('2019-12-05 12:26:35');
select from_unixtime(1515980716);
原文地址:https://www.cnblogs.com/igoodful/p/11989405.html