Your sample shows how to get the time and date a file was created, but how do I get the time and date a file was last modified?
If you're using a recent version of the scripting libraries,
it's actually just as easy as getting the created date. Instead of:
objItem.DateCreated
you simply use:
objItem.DateLastModified
The problem comes if you're running an older version. I'm not sure
exactly when it was added, but early versions didn't have the
DateLastModified property. Not to worry... we've got a
Last Modified sample from
way back when that explains the whole thing.
Please note: This form is only for submitting questions about the sample for us to consider including in the FAQ. If we feel the question merits inclusion, we will include it along with a reply. We will not respond to your email individually.