I have this date fromat:
Mon Feb 02 2015 05:18:44 GMT+0000 (UTC)
How can I reformat it to something more friendlier such as 2/2/2015
You can pass it to Date
Object:
var dateString = "Mon Feb 02 2015 05:18:44 GMT+0000 (UTC)";
var date = new Date(dateString);
date.getDate(); // > 2 (the day number)
date.getMonth(); // > 1 (the month number as 0 is January, 11 is December)
You can also find a lib to do the format job or format yourself.