You can later convert it back to a format that’s human readable.
in a shell on linux if you wish to display the current unix time. just type
But if you need the unix time for a specific date ,
date –d=’03/14/2016 00:00:01′ +%s
date –d=’14 march 2016 00:00:01′ +%s
There is also the function to input an interval
date –d ‘1 hour ago’ +%s
date –d ‘1 month ago’ +%s