I am converting DateObject to string doing
var date = new Date(); //Tue Nov 01 2016 17:00:48 GMT-0400 (EDT)
var string = date.toString(); //Tue Nov 01 2016 17:00:48 GMT-0400 (EDT)
Now I want to convert the my string to date object.How can I do this?
var dateObject = ??????