I get a miliseconds string from the server like this: 1345623261.
How can i convert this into a normal date format, e.g. 30.08.2012?
I attempted using setMilliseconds, like so:
new Date().setMilliseconds(time_posted).toLocaleString();
But this doesn't work. How to do that?