How do I get the current date/time in seconds in Javascript?
Better short cuts:
+new Date # Milliseconds since Linux epoch +new Date / 1000 # Seconds since Linux epoch Math.round(+new Date / 1000) #Seconds without decimals since Linux epoch