Api request unix timestamp

how can i convert this timestamp https://blockchain.info/stats?format=json (162984485300)
image
this just create a new date and time

1 Like

You could use the webviewer and vanilla JavaScript to convert this back into a human readable timestamp!

2 Likes

Google sheet can do it easily

See my explanation in this post

1 Like

Another trick (for Android only)
Add a web viewer to your screen and in the URL add this

data:text/html,<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<h4>Unix To Standard Date</h4>
<div id="DisplayDate"></div>
<script>
	document.getElementById('DisplayDate').innerHTML = new Date(162984485300).toString();
</script>

You should see the human readable date of the Unix date number given.

Of course you can put this string in a variable and change the unix number as required.

1 Like