Help for this page

Select Code to Download


  1. or download this
    use Date::Format;
    $file = '...filepath...';
    $modTimeInSec = (stat $file)[9];
    print time2str("%d/%m/%y", $modTimeInSec);
    
  2. or download this
    @files = grep { 
         my $mod = (stat $_)[9];
         $startTime <= $mod && $mod <= $endTime
    } <*.*>;