Turn a timestamp into a date

date -r turns a Unix timestamp (seconds since 1970) into a date in your time zone; date +%s gives the timestamp for right now.

How

A timestamp as a date and time:

date -r 1700000000 "+%Y-%m-%d %H:%M"

Timestamps in milliseconds (13 digits) need dividing by 1000 first:

date -r $((1700000000000 / 1000))
Or just ask Titan
When was 1700000000 in my time zone? Do it with Titan

Titan is an AI that lives on your computer: tell it what you need and it does it while you watch — you press Return, nothing runs by itself. What is Titan?

Titan isn’t on this computer yet. Get Titan, then press the button again — the task will be waiting, typed in.

Related

Count the days until a dateSee the time in another city