Results 1 to 3 of 3

Thread: File Date time

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    27

    Post

    Anyone know how I can determine the date and time stamp of a file? I need to continue processing after the file has been updated.

    Thanks.

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    Post

    Private Sub Form_Load()
    Dim x
    x = FileDateTime("C:\my documents\try.txt")
    MsgBox x
    End Sub
    'Wayne

  3. #3
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    You can use VB's build-in function FileDateTime.

    Example:


    Dim dtTimeStamp As Date

    dtTimeStamp = FileDateTime("C:\MyFile.txt")


    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]
    ICQ#: 51055819


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