in reply to Reading a directory and getting file dates

Depending on what you want to do with the creation date, you might also look into the -C flag:
$date = -C $file;
This returns the number of days since the file was created, which allows you to easily determine which files are over a certain age if, for instance, you're trying to clean up your directory.

Otherwise, use stat.