in reply to File Date on NT

Of course, if all you are interested in is the file modification time, the -M and -A functions return the number of days since the file was last modified resp. accessed.

Use it as follows (untested)

if (-M $filename < 4) { print "The file $filename was accessed less than four days ago\n"; };