Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get current seconds

const timestamp = new Date() / 1000; // 1405792936.933
// Technically, .933 would be milliseconds. 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #current #seconds
ADD COMMENT
Topic
Name
4+4 =