How to convert unix timestamp to human readable format using javascript?

Here's a simple code snippet to convert any unix timestamp to a neat formatted date string using javascript. No jQuery nor any other date library is required.

// your timestamp
let timestamp = "1675072637";

let str = new Date(timestamp);

console.log(str);

That being said, I highly recommend using momentjs or date-fns since javascript's date implementation is highly inconsistent across browsers.

How to convert unix timestamp to date