Article View: borland.public.cppbuilder.nativeapi
Article #8537Re: How to find the current date and time for a file?
From: Mark Jacobs
Date: Mon, 11 Oct 2004 09:36
Date: Mon, 11 Oct 2004 09:36
12 lines
1402 bytes
1402 bytes
Assuming the path to the file is stored in the AnsiString filnam :- TDatetime fdttm=FileDateToDateTime(FileAge(filnam)); -- Mark Jacobs DK Computing http://www.dkcomputing.co.uk "Randall Parker" <STOPtechiepundit@EVILfuturePOXpunditSPAM.com> wrote in message news:4169bd98$1@newsgroups.borland.com... | Suppose one has a string that is a path to a file. How can one find out the date and | time stamps for that file?
Technical Details
Message-ID:
<416a5429$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4169bd98$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,70f83bb8d8c34e61 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup> Newsgroups: borland.public.cppbuilder.nativeapi References: <4169bd98$1@newsgroups.borland.com> Subject: Re: How to find the current date and time for a file? Date: Mon, 11 Oct 2004 10:36:50 +0100 Lines: 14 Organization: DK Computing X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 81.144.157.8 Message-ID: <416a5429$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097487401 81.144.157.8 (11 Oct 2004 02:36:41 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail