Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!ucbcad!ucbvax!sdcsvax!beowulf!bruss From: bruss@beowulf.ucsd.edu (Brian Russ) Newsgroups: comp.sys.amiga Subject: Getting a timestamp of a file Message-ID: <2867@sdcsvax.UCSD.EDU> Date: Thu, 19-Mar-87 01:39:11 EST Article-I.D.: sdcsvax.2867 Posted: Thu Mar 19 01:39:11 1987 Date-Received: Fri, 20-Mar-87 05:41:10 EST Sender: nobody@sdcsvax.UCSD.EDU Distribution: na Lines: 17 I wish to find the last time a file has been modified, from within a C program. From what I've been able to figure, I need to call Examine() which returns me a struct FileInfoBlock. I see that this structure has one field called fib_Date or some- thing (where is this structure documented? RKM and Developer's Manual were of no help) -- is this the file creation date or file modification date? How do I transform this structure (a DateStamp struct, I believe) into human-readable (i.e. month and day) format? Finally, to call Examine() (and Lock() since that's what Examine() needs) do I need to open some library? Thanks in advance. Brian Russ EECS Department, UC San Diego ...!sdcsvax!bruss