given a date string something like
11/03/2004 09:30:27
Is there a perl mod that will turn this into perl's time() in
seconds from day zero?
use Time::ParseDate;
$seconds = parsedate(11/03/2004 09:30:27);
if it's a UK-style date (March 11) then you change the line to
$seconds =
[EMAIL PROTECTED] wrote:
given a date string something like
11/03/2004 09:30:27
Is there a Perl mod that will turn this into peril's time() in
seconds from day zero?
Thanks
You would need to parse the data which you could do in two steps:
# Assumes you date/time is in $_
Wagner, David --- Senior Programmer Analyst --- WGO wrote:
[EMAIL PROTECTED] wrote:
given a date string something like
11/03/2004 09:30:27
Is there a Perl mod that will turn this into peril's time() in
seconds from day zero?
Thanks
You would need to parse the data which you could do