How to convert numeric date to human-readable format?

When you have a 10-number value for the data, it can be converted with the date command. This might be useful in scripts to convert a date that is stored in 'seconds since epoch' format.


date -d@5544332211

Sample output

Fri Sep 10 14:16:51 CEST 2145

Recently updated at May 6, 2023

Do you like this page? Share it with others or help us make it better


Share with friends:
Share on Twitter