angular convert Date object into 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;}