The following:
new Date(1324339200000).toUTCString()
Outputs:
"Tue, 20 Dec 2011 00:00:00 GMT"
I need it to return Dec 20
. Is there a better method I can use besides toUTCString()
? I am looking for any way to parse through milliseconds, to return a human-readable date.