Getting Date Stamp of a file on a Win32 System



On a Win32 system, how do you get a date stamp of a file?

I used:

#!/usr/bin/perl -w
use strict;
use Data::Dumper;
use File::stat;
my $filename = "test.txt";
my $stat = stat($filename);
print Dumper($stat);
my $modified_time = stat($filename)->mtime;
print ("The modified time of $filename is: $modified_time");

But this only gets me time. Nothing in the element list for STAT
seems to give me the date.

Any suggestions?
Thanks in advance.
DA
.



Relevant Pages