• Possible to check access to current time?

    From reinert@21:1/5 to All on Tue Jun 6 23:45:36 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dmitry A. Kazakov@21:1/5 to reinert on Wed Jun 7 09:07:34 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)