Computer and IT knowledge - things to know
Perl timestamp
open(INFILE,$filename);
($dev,$ino,$mode,undef,undef,undef,undef,undef,
$atime,$mtime,$ctime )= stat INFILE ;
$mdate = &ctime($mtime);
$adate = &ctime($atime);
$cdate = &ctime($ctime);
print "${filename}:mtime:$mtime:$mdate";
print "${filename}:atime:$atime:$adate";
print "${filename}:ctime:$ctime:$cdate";
computer2know :: thank you for your visit :: have a nice day :: © 2024