I think you want the function that does the reverse of localtime, which lives in the Time::Local module. That function is not called emitlacol, but timelocal, but it takes the output of localtime and turns it into epoch seconds again. If you're already using a fancier date/time handling module, like DateTime, most of them also have a function to output the epoch time.
In reply to Re: getting unix time
by Corion
in thread getting unix time
by o2bwise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |