comp.lang.ada
 help / color / mirror / Atom feed
* Possible to check access to current time?
@ 2023-06-07  6:45 reinert
  2023-06-07  7:07 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 2+ messages in thread
From: reinert @ 2023-06-07  6:45 UTC (permalink / raw)


Hello,

This may not be a specific Ada question, but anyway:

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)?

reinert

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible to check access to current time?
  2023-06-07  6:45 Possible to check access to current time? reinert
@ 2023-06-07  7:07 ` Dmitry A. Kazakov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry A. Kazakov @ 2023-06-07  7:07 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-07  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-07  6:45 Possible to check access to current time? reinert
2023-06-07  7:07 ` Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox