Help for this page

Select Code to Download


  1. or download this
    while($line = <$FH>) {
    
    ...
        $_ = Time::Piece->strptime($fields[39],'%m/%d/%Y %H:%M')->strftime
    +('%Y-%m-%d %H:%M');
        push @data, \@fields;
    }
    
  2. or download this
    while($line = <$FH>) {
    
    ...
        $_ = Time::Piece->strptime($_,'%m/%d/%Y %H:%M')->strftime('%Y-%m-%
    +d %H:%M') for @fields[38,39];
        push @data, \@fields;
    }