mysql 获取当前时间戳为select unix_timestamp(now()) 查询语句中不能使用strtotime()函数相反函数 FROM_UNIXTIME把 unix时间戳转换为标准时间 打赏感谢支持与鼓励~