in reply to last update time of hardware clock (Windows and Linux) with the Server

I am looking for a function that can provide me the last update time of the hardware clock ...

What do you mean by the "last update time"?

Do you mean:


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: last update time of hardware clock (Windows and Linux)

Replies are listed 'Best First'.
Re^2: last update time of hardware clock (Windows and Linux)
by thanos1983 (Parson) on Sep 21, 2014 at 22:31 UTC

    Hello BrowserUk,

    You are absolutely right. This is very important details that I did not mention it. I am looking for the last time it was synchronized with a time from the server.

    I am updating the question to avoid future confusion.

    Seeking for Perl wisdom...on the process of learning...not there...yet!
      I am looking for the last time it was synchronized with a time from the server.

      On windows, you can parse the output of: w32tm /query /status. It is the 7th line of 9.

      The info is probably in the registry somewhere, but a quick search of ms.com didn't turn up the relevant key.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        Hello BrowserUk,

        Thank you for your time and effort, I will try to find a common solution that can be applied in both OS. Alternatively I will create a different process for Windows and Linux.

        I appreciate your time and effort. Thanks again.

        Seeking for Perl wisdom...on the process of learning...not there...yet!