DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+4 =
Submit