Article View: comp.lang.basic.visual.misc
Article #257Re: Determine file last modified date.
From: J French
Date: Mon, 30 Apr 2001 12:32
Date: Mon, 30 Apr 2001 12:32
42 lines
2118 bytes
2118 bytes
Your best bet is to use the FindFirstFile/FindNextFile API
This can give you :
File Creation Date
File Last Modified Date
File Last Accessed Date
Use FileTime to System Time to decode the dates returned.
There is also the GetFileTime API - but this requires opening the file
- not a good generic solution.
On Mon, 30 Apr 2001 12:36:03 +0200, Jure Sah <jure.sah@guest.arnes.si>
wrote:
>Is there a function that can tell the date last modified out of the
>filename in VB5?
>
>If yes, what is it called and how is it used? Please describe from
>begining to end.
>
>Thanx in advance!
>
>{I would also appriciate if replies get sent to my e-mail address too,
>because due to the large amount of trafic to these newsgroup, I can't
>afford to download all posts. Thank you.}
>
>--
>
>Don't feel bad about asking/telling me anything, I will always gladly
>reply.
>
>I'm addicted to PDS.
>
>Anybody interested in cooperation? See:
>Http://www.geocities.com/gtsc4/innc/index.html
>
>GTSC4 -- If nobody else wants to do it, why shouldn't we?(TM)
>HTTP://WWW.GeoCities.COM/GTSC4/
>
Technical Details
Message-ID:
<3aed585d.1169664@news.u-net.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet!newsr1.u-net.net!not-for-mailReferences:
<3AED4013.E031EE4F@guest.arnes.si>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110e3b,12cdc5e6268ebd10 X-Google-Attributes: gid110e3b,public X-Google-Thread: ff48e,12cdc5e6268ebd10 X-Google-Attributes: gidff48e,public X-Google-ArrivalTime: 2001-04-30 05:24:47 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet!newsr1.u-net.net!not-for-mail From: jerry@iss.u-net.com (J French) Newsgroups: comp.lang.basic.visual.misc,basicworld.public.vb.tools Subject: Re: Determine file last modified date. Reply-To: jerry@iss.u-net.com Message-ID: <3aed585d.1169664@news.u-net.com> References: <3AED4013.E031EE4F@guest.arnes.si> X-Newsreader: Forte Free Agent 1.1/32.230 Lines: 43 Date: Mon, 30 Apr 2001 12:32:27 GMT NNTP-Posting-Host: 195.102.196.28 X-Complaints-To: news@u-net.net X-Trace: newsr1.u-net.net 988633418 195.102.196.28 (Mon, 30 Apr 2001 12:23:38 GMT) NNTP-Posting-Date: Mon, 30 Apr 2001 12:23:38 GMT