How can I find a files Modified Date

Hi All.

How can I find the date a file was last modified.  I have looked at getattr() and fileattr() but can't seem to find what I want.

I need something like:-

ModDate = Filename.ModifiedDate or
ModDate = getattr(filename, ModifiedDate)

But I'm sure it wont be quite that simple!

Cheers,
Shivermetimbers.
shivermetimbersAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
GrahamSkanConnect With a Mentor RetiredCommented:
ModDate = FileDateTime("MyFilespec")
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.