
Fernando F. answered 07/03/19
I can teach you Unix, Database, Perl, Computers
The 'date' command provides the option to display the time in seconds since Epoch(1970-01-01 00:00:00 UTC). Use the FORMAT specifier '%s' to display the value.
date '+%s' # returns number of seconds such as: 1562172080
To get the full list of format specifies for date type 'man date' on the command line.