There are a number of ways that you can do this. The DateTime module can do it (as can the other Date modules), and POSIX has the mktime function. The Time::Local module has the timelocal (so, backwards in name too), which shows up in the Dates section of perlfaq4.
In reply to Re: The opposite of localtime()
by brian_d_foy
in thread The opposite of localtime()
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |