Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert datetime to timestamp javascript

function toTimestamp(strDate){ var datum = Date.parse(strDate); return datum/1000;}
Source by www.hashbangcode.com #
 
PREVIOUS NEXT
Tagged: #convert #datetime #timestamp #javascript
ADD COMMENT
Topic
Name
2+6 =