in reply to Re: Convert Old Unix Date to Perl and compare
in thread Convert Old Unix Date to Perl and compare

shouldn't it be timelocal() from Time::Local instead of mktime()? Or you could use POSIX qw(mktime) instead, but POSIX is a lot to bring in just for this.

Replies are listed 'Best First'.
Re^3: Convert Old Unix Date to Perl and compare
by JavaFan (Canon) on Feb 27, 2012 at 19:32 UTC
    The OP was using mktime, indicating his problem was extracting the pieces of data from the filename, not with the construction of the time. Who am I to second guess him?