What are you having trouble with? The code that you already have is so close that it's hard to see how you'd have problems extending it to take account of the time as well. You just need to adjust your call to "split" so it also splits out the components of the time, and then include those values in the call to "timelocal".
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Converting date and time into seconds
by davorg
in thread Converting date and time into seconds
by sandycat05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |