I want to collect the xxx.mdb name file and modified time and write to excel.
How to do this because im not have an idea how to get the modified date (still learning)
use directory.getfiles() this will create an array that contains all files from the specified folder.
use a for each on the array you just created, then IO.File.GetLastWriteTime(fileName).ToString will get you the date you want.