Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Anyway to find the time and date a file was created on a NT?? I tried:
my $create = localtime ( (stat(_))[10] );
This gives the same time and date as "Last access" time. I need the actual creation date of each of my powerpoint files.

Replies are listed 'Best First'.
Re: Finding Creation date
by Nemp (Pilgrim) on Aug 15, 2002 at 15:18 UTC

    Looking up stat tells us that the 10th field isn't the creation time. (not sure if this just applies to unix systems though as on unix it is the "last inode change time" not creation time - is it different for Win32 systems?)

    Maybe Win32::Filetime would help you?

    HTH,
    Neil