I have found a way to do this but it is messy:
perl -MPOSIX -MTime::Local -se 'print scalar timelocal($a, $b, $c, $d, $e, $f)' -- -a=$sec -b=$min -c=$hour -d=$day -e=$month -f=$yearIs there a more simpler approach as the one proposed earlier?
In reply to Re: Date to Epoch
by Anonymous Monk
in thread Date to Epoch
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |