thanos1983 has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I am looking for a function that can provide me the last update time of the hardware clock on Windows/Linux OS through Perl.
Update: The last update time that the OS was synchronized with a time server.
I have been looking over the web and I can not find something similar. I can find modules to play around with the hardware clock such as Test::MockTime or Time::Mock but they are not suitable from my request.
I want a function that will reply back with the epoc seconds since the last update time. For example since last update time of hardware clock was 5.7 sec.
Thank you in advance for your time and effort.
|
|---|