Results 1 to 2 of 2

Thread: Finding the Modified Date of File

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Northern Maine
    Posts
    281

    Question Finding the Modified Date of File

    I am very new to the API portion of VB6 and I am trying to get the modified date of a certain file. I'm using the calendar control to get a date into a textbox and then I want the program to find a file that was modified on that date. If there is anyone out there that can point me in a directing it would be great. I think I am supposed to be using the GetFileTime or GetFileAttribuets but I am not quite sure how to use either one.

    Thanks,
    Mark

  2. #2
    Matthew Gates
    Guest
    Use the FileDateTime function.


    VB Code:
    1. Msgbox FileDateTime("C:\Autoexec.bat")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width