If you have a file, and need its epoch date, probably easiest is to stat it directly
$ perl -we 'print +(stat pop)[9]' myfile.txt 1521558861
In reply to Re: Date to Epoch
by Anonymous Monk
in thread Date to Epoch
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |