in reply to stat and localtime - take2

Can you please tell what time do you want to print ? Because stat returns following values :- ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks)