Google Группы больше не поддерживают новые публикации и подписки в сети Usenet. Опубликованный ранее контент останется доступен.

Possible to check access to current time?

40 просмотров
Перейти к первому непрочитанному сообщению

reinert

не прочитано,
7 июн. 2023 г., 02:45:3807.06.2023
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

Dmitry A. Kazakov

не прочитано,
7 июн. 2023 г., 03:07:3707.06.2023
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

0 новых сообщений