select *from `date` where DATEDIFF(FROM_UNIXTIME(unix_timestamp),NOW())=0 查询当前时间数据 unix_timestamp是时间戳 0是当天 -1是前一天
echo time();//秒时间戳
(int) (System.currentTimeMillis() / 1000)
Math.round(new Date() / 1000)
date +%s
SELECT strftime('%s', 'now')
import time time.time()
timestamp conversion date, input time to time stamp, or input timestamp into time.