timestamp javasctipt unix a partir da data

Math.round(new Date().getTime() / 1000).toString()
Busy Bee