Results 1 to 5 of 5

Thread: FileDateTime

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2000
    Location
    Sydney
    Posts
    311

    Resolved FileDateTime

    The VB documentation says FileDateTime returns the created date or the modified date. What does that mean?

    Does anyone know what it actually returns. I have seen many conflicting opinions on this forum and am confused!

    Thanks
    Last edited by Help321; Apr 18th, 2005 at 11:11 PM.

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: FileDateTime

    It means that it returns the date and time of when the file was last changed. This is the same shown by Windows Explorer.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2000
    Location
    Sydney
    Posts
    311

    Re: FileDateTime

    Thanks for the replies. Why does it say created OR modified then as these are 2 totally different dates??

  4. #4
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: FileDateTime

    Quote Originally Posted by Help321
    Thanks for the replies. Why does it say created OR modified then as these are 2 totally different dates??
    If a file hasn't been modified since it was first created the function returns the creation date/time.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2000
    Location
    Sydney
    Posts
    311

    Re: FileDateTime

    OK. Thanks. The creation date in that case is the same as the modified date! So it only really returns the modified date!

    Thanks for all your help.

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