Results 1 to 5 of 5

Thread: Modified Date&Time of a file

  1. #1

    Thread Starter
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808

    Modified Date&Time of a file

    Is there an easy way to get the date & time of the file without using the FSO?
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  2. #2
    Member
    Join Date
    Sep 2001
    Location
    Brazil
    Posts
    34

    Thumbs up using API

    I think you can do this using GetFileTime/SetFileTime and FileTimeToLocalFileTime API functions...there´s an example in API Guide (KPD-Team): http://www.allapi.net/
    Last edited by Vasconcelos; Feb 6th, 2002 at 05:29 AM.

  3. #3
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Newbury, UK
    Posts
    1,878
    Is simple VB OK? The
    FileDateTime (filename)
    function might be enough.

  4. #4

    Thread Starter
    Need-a-life Member Mc Brain's Avatar
    Join Date
    Apr 2000
    Location
    Buenos Aires, Argentina
    Posts
    6,808
    Wow! That's easy!
    Thanks!
    Emiliano F. Martín


    If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
    Encourage the person who helped you to keep doing it, and give him the points he deserves.


    MP3 Organizer: Freeware to logically organize all your MP3s.

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    LOL!!! I didn't respond to this thread because Vasconcelos already gave you the example from http://www.allapi.net/

    I totally forgot about FileDateTime!! Sometimes I think I get way too API happy!

    K.I.S.S.H (Keep It Simple Stupid Hack)

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