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 dat
This is the exact solution to the question.
var timestamp = 1422360000; var date = new Date(timestamp * 1000);
Result: Tue Jan 27 2015 13:00:00 GMT+0100