DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
convert date to unix timestamp javascript
new Date('2012.08.10').getTime() / 1000 //secs new Date('2012.08.10').getTime() //milliseconds
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#date
#unix
#timestamp
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+7 =
Submit