Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verify Date Modified for text files 1

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
How can I check to see if the Date Modified in for a specific file name is yesterday...

For example:
File Name Date Modified
Test3.txt 2014-07-28
Test2.txt 2014-05-08
Test1.txt 2014-01-01

IE:
LAST modified date for files starting with Test is 2014-07-28
 
Here is an exzmple of retrieving the last modified date using the file scripting object (make sure you have its library checked in "references").
[link ][/url]

Should be an easy thing to compare it with DateAdd() using day and -1.

Beir bua agus beannacht!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top