DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
epoch time js
let
nowInMs
=
Date
.
now
(
)
;
let
nowInSecond
=
Math
.
round
(
nowInMs
/
1000
)
;
console
.
log
(
nowInSecond
)
;
//
Source by addin.my.id #
PREVIOUS
NEXT
Tagged:
#epoch
#time
#js
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit