I am trying to make a kind of resource planning manager basically kind of a calendar. And I need to loop through a full year.
I have the following code:
for (var x = 0; x < 365; x++){
var today = new Date(2015, 01, x);
document.write(today + "<br />");
}
Its kind of what I want but then I just want to show the day, the date, the month and the year, now it also shows the time. How to hide the time. Check this link to see my result (http://gyazo.com/3df91f5292072a54415d13b2ccca4922)