I like the output of the $mtime variable in the stat array.
print scalar localtime($mtime);
or
print scalar gmtime($mtime);
Tue May 8 19:56:35 2007
however, I need it in the format of
Tue, May 8 2007 19:56:35
how would I manipulate this? I'm smart enough to be stupid here.
print scalar localtime($mtime);
or
print scalar gmtime($mtime);
Tue May 8 19:56:35 2007
however, I need it in the format of
Tue, May 8 2007 19:56:35
how would I manipulate this? I'm smart enough to be stupid here.