If you go to start-->find(or search if it's xp), you can choose advanced search, and specify x days ago.
If you are tring to do it through
Perl, from Orielly's Learning
Perl:
"The
Perl operator -M returns the age in days since a file or filehandle has last been modified"