Unix time (or Unix timestamp, Unix epoch, POSIX time) is the number of seconds since 1 January 1970 UTC. For example '13374311' would be Thu, 04 Jun 1970 19:05:11 GMT. Here you can convert a Unix time to a readable format and back.
To view the current date and time enter into your shell:
To view the current Unix time enter into your shell:
Example output: 1234567890
To convert a Unix time to readable, for example:
date -d @1234567890 +%c
To convert a date and time to Unix time, for example:
date -d "Sun, 09 Sep 2001 01:46:40 GMT" "+%s"
If you find mistakes, have suggestions, and or questions please post at mewbies forum HERE - thank you.
Last update on 20 Mar '14