Date: Tue, 16 Nov 1999 09:34:03 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: chongkong AT my-deja DOT com cc: djgpp AT delorie DOT com Subject: Re: check when file was last updated? In-Reply-To: <80qk4u$684$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 16 Nov 1999 chongkong AT my-deja DOT com wrote: > is there a function get the time when file is last modified? If the file is given by its name, you can either call `findfirst' or the more portable `stat'. If the file is already open and given by its handle, you can call `fstat' or the DOS-specific `_dos_getftime' (but the latter doesn't support 3 different time stamps maintained for files on Windows 9X).