in reply to Converting date and time into seconds

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".

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: Converting date and time into seconds