Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js unix timestamp

function getUnixTime() {
  return (Date.now() / 1000) | 0;  
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #node #js #unix #timestamp
ADD COMMENT
Topic
Name
2+1 =