perl -F, -nle"$_ = localtime( $_ ) for @F[0,1]; print join ',', @F" < infile > outfile