Hi everybody,
I don't know all the perl functionalities. I have one line perl script that reads the last modification date of a file then inserts it into a variable:
$fileDate = ctime(stat($temp_filename)->mtime);
This is the result:
Mon Dec 20 07:49:51 2004
How could we format this date as:
20.12.2004 07:49:51 (i.e. DD.MM.YYYY.....)
Thanks for your help.
I don't know all the perl functionalities. I have one line perl script that reads the last modification date of a file then inserts it into a variable:
$fileDate = ctime(stat($temp_filename)->mtime);
This is the result:
Mon Dec 20 07:49:51 2004
How could we format this date as:
20.12.2004 07:49:51 (i.e. DD.MM.YYYY.....)
Thanks for your help.