in reply to Date conversion to epoch w/out mysql.pm
suaveant's reply has you covered, Time::Local would be my choice if you cannot install Date::* modules from the CPAN.
use Time::Local; my $epoch = timelocal($sec, $min, $hours, $mday, $mon, $year);
--
vek
--
|
---|
In Section
Seekers of Perl Wisdom