当前的Unix时间戳:
获取当前时间戳:
JAVA
System.currentTimeMillis()
JavaScript
Math.round((new Date().getTime())/1000)
Shell
date +%s
MySQL
SELECT unix_timestamp(now())