in reply to Convert Old Unix Date to Perl and compare
if (my($year, $mon, $day, $hour, $min) = $file =~ /Rajesh\.([0-9]{2})( +[0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})/) { my $unixtime = mktime(0, $min, $hour, $mon - 1, $year + 100, 0, 0) +; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Convert Old Unix Date to Perl and compare
by thargas (Deacon) on Feb 27, 2012 at 18:19 UTC | |
by JavaFan (Canon) on Feb 27, 2012 at 19:32 UTC | |
|
Re^2: Convert Old Unix Date to Perl and compare
by FloydATC (Deacon) on Feb 27, 2012 at 14:16 UTC |