I have an array of dates and have been using the map function to iterate through it, but I can\'t figure out the JavaScript code for converting them into integers.
This
Here what you can try:
var d = Date.parse("2016-07-19T20:23:01.804Z"); alert(d); //this is in milliseconds