date type javascript turn string to timestamp code example
Example: convert datetime to timestamp javascript
function toTimestamp(strDate){ var datum = Date.parse(strDate); return datum/1000;}
function toTimestamp(strDate){ var datum = Date.parse(strDate); return datum/1000;}