Josh's Toolbox

Linux Epoch Calculator

A classic tool for translating epoch time to reality

Hopefully you can't see this...

Hopefully you can't see this...


CLI DIY

How to use the GNU date command for this information on the command line

Getting the current epoch on the command line:

date +%s

Getting a specific epoch on the command line, where <TIMESTAMP> in either timestamp above (or many other variations):

date --date="<TIMESTAMP>" +%s