I converted a unix timestamp from an API to a more readable date using this code:
var newTimeStamp = new Date();
newTimeStamp.setTime(date*1000);
date = newTimeStamp.toUTCString();
(date is a variable I set for the date data coming in from the API which I reassigned to this new format).
That generated the date like this:
Wed, 11 May 2016 16:00:00 GMT
Thu, 12 May 2016 16:00:00 GMT
Fri, 13 May 2016 16:00:00 GMT
Sat, 14 May 2016 16:00:00 GMT
I really only need the day of the week, day and month. Is there an easy way to limit this data?