Search
 
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
Name
7+7 =