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,fd4cbeff94ade232 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-22 12:54:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Time of modification of file Date: Thu, 22 May 2003 14:55:45 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:37657 Date: 2003-05-22T14:55:45-05:00 List-Id: Stephen Leake wrote in message ... >"szygula" writes: > >> How to obtain information about time of modification of file in ADA95. >> I use ADA95 for Windows. > >If you are using the GNAT compiler, see the package GNAT.OS_Lib; it >defines the function "File_Time_Stamp". If you are using an Ada 200y compiler :-), package Ada.Directories contains this and many other useful functions. Ada.Directories.Modification_Time (Name) does what you want. See AI-248. Unfortunately, I'm not aware of any compilers currently supporting Ada.Directories. Too bad. Randy Brukardt.