How do I get the current Unix timestamp?

How do I get the current Unix timestamp?
Answer
To find the unix current timestamp use
the %s option in the date command. The %s option calculates unix timestamp by finding the number of seconds between the current date and unix epoch.
 

Tìm kiếm

Back
Top