node mendapatkan cap waktu unix
Math.floor(new Date() / 1000) // in seconds
just-saved-you-a-stackoverflow-visit
Math.floor(new Date() / 1000) // in seconds
Math.floor(Date.now() / 1000)
// A unary operator like plus triggers the valueOf method in the Date object
// and it returns the timestamp (without any alteration).
+ new Date()