From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,48e481087721b6b9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-17 03:58:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn14feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc03.POSTED!not-for-mail From: "Jeffrey Creem" Newsgroups: comp.lang.ada References: Subject: Re: Need to check access and modify time of a file X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 66.31.4.164 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc03 1063796170 66.31.4.164 (Wed, 17 Sep 2003 10:56:10 GMT) NNTP-Posting-Date: Wed, 17 Sep 2003 10:56:10 GMT Organization: Comcast Online Date: Wed, 17 Sep 2003 10:56:14 GMT Xref: archiver1.google.com comp.lang.ada:42611 Date: 2003-09-17T10:56:14+00:00 List-Id: GNAT.OS_Lib has at a File_Time_Stamp functio but I think it only has one for modification time. You probably need to use the POSIX bindings (Florist) to get the access time. "Preben Randhol" wrote in message news:slrnbmg95g.13n.randhol+abuse@kiuk0152.chembio.ntnu.no... > Hi > > I need to make a small application that can check the modification and > access time of some files. I use GNAT. Does anyboyd have some code doing > this they want to share. Or if you could point me in the right > directions. Sorry for asking and not figuring it out myself, but I'm > very pressed for time. > > Thanks in advance. > Preben