Hi guys
I am using an api with a json endpoint to grab some data.
the api returns dates that look like: Date(1288205847730)
(so a basic javascript date object)
How do I convert that to Thu, 28 Oct
That is the generalized question that I could work from.
The actual question is I want to show Thu, 28 Oct
format if there is more than 24 hours between now and that date,
if there is less I want to show 13 hours 8 minutes
(note: the times used are made up and do not correspond to the time used)