From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Possible to check access to current time? Date: Wed, 7 Jun 2023 09:07:34 +0200 Organization: A noiseless patient Spider Message-ID: References: <2aa0bb09-9595-47f6-ae70-94ab2ee83c51n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 7 Jun 2023 07:07:34 -0000 (UTC) Injection-Info: dont-email.me; posting-host="a62e939f7096539114d35102d9d54a5c"; logging-data="1124362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LQvVxrW9D6FopktL2UChosb9RD8DaNsw=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:p/IIumV8jdeNhN2kNAGt4qbYaZc= In-Reply-To: <2aa0bb09-9595-47f6-ae70-94ab2ee83c51n@googlegroups.com> Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65298 List-Id: On 2023-06-07 08:45, reinert wrote: > I use Ada and consider to apply current time to label (dynamic) data so one always can access the latest corrections/versions. This could be a source or error if current (real) time is reported wrong. So is it possible automatically to check that Network time is available and correctly reported (using Ada)? Yes, you can query an NTP time server. E.g. see http://www.dmitry-kazakov.de/ada/components.htm#17.17 -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de