I am trying to figure out, how i can convert a unix timestamp to a readable date using javascript.
For an example, i want to convert this unix: 1422360000, to a date format like this (or something simular):
Tue, 27 Jan 2015 12:00:00 GMT
Solution:
var timestamp = 1422360000;
var date = new Date(timestamp * 1000);