1.获取当前时间的时间戳
SELECT UNIX_TIMESTAMP();#1698911936 SELECT UNIX_TIMESTAMP(NOW());#1698911936SELECT UNIX_TIMESTAMP(CURRENT_TIMESTAMP());#1698911936