Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. function seconds_since_epoch() {
  2. return Math.floor( Date.now() / 1000 )
  3. }
  4.  
  5. epoch_time = seconds_since_epoch();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement