seconds since epoch
import time epoch_time = int(time.time())
function seconds_since_epoch() { return Math.floor( Date.now() / 1000 ) } epoch_time = seconds_since_epoch();