in reply to Converting POSIX format date/times to epoch seconds

#!/usr/bin/perl use Date::Manip; my $secs = UnixDate('03-DEC-02', '%s'); print "$secs\n"; #see perldoc Date::Manip for details on #formats for seconds, fractional seconds, and timezones

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Converting POSIX format date/times to epoch seconds
by cowboy (Friar) on Feb 23, 2005 at 16:42 UTC
    While there are other date modules, Date::Manip is one of, if not the most versatile.
    One thing to be aware of though, is that it is very heavy to use in an environment where performance matters.
    I use it when I can, and replace it with small, custom routines in places where it's just too slow.