Would anybody know of a way to retrieve the MODIFIED date of a file. The company I work for deploys our application via modified date of the EXE file and related PBD files.

I have though about using DIR command in DOS but find that it will be very difficult as XP/W2K use YYYY/MM/DD and the date is first in the line. In W9x, date format is DD/MM/YY and the date is found in the middle of the string.

Any suggestions?