From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 2002:a05:620a:1a2a:b0:774:cd1:f036 with SMTP id bk42-20020a05620a1a2a00b007740cd1f036mr676818qkb.14.1697481328119; Mon, 16 Oct 2023 11:35:28 -0700 (PDT) X-Received: by 2002:a05:6808:19a2:b0:3ae:1e08:41e7 with SMTP id bj34-20020a05680819a200b003ae1e0841e7mr36391oib.9.1697481327924; Mon, 16 Oct 2023 11:35:27 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 16 Oct 2023 11:35:27 -0700 (PDT) In-Reply-To: <262bea8c-57ff-480e-b5aa-da94f0436e98n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=209.104.249.61; posting-account=1tLBmgoAAAAfy5sC3GUezzrpVNronPA- NNTP-Posting-Host: 209.104.249.61 References: <262bea8c-57ff-480e-b5aa-da94f0436e98n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Windows file timestamp converted to local time From: Matt Borchers Injection-Date: Mon, 16 Oct 2023 18:35:28 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:65793 List-Id: Below is the function from System.OS_Lib. Does anybody know where the C implementation can be found? Does anybody know where the C implementation of "localtime" is found? function File_Time_Stamp (Name : C_File_Name) return OS_Time is function File_Time (Name : Address) return OS_Time; pragma Import (C, File_Time, "__gnat_file_time_name"); begin return File_Time (Name); end File_Time_Stamp;