select unix_timestamp(‘2019-12-05 12:26:35‘); select from_unixtime(1515980716);
datetime与timestamp相互转换
原文:https://www.cnblogs.com/igoodful/p/11989405.html