libnet-ntp-perl

Perl module to query ntp servers
  https://metacpan.org/release/Net-NTP
  0
  no reviews



Net::ntp is a small perl module to query an ntp (network time protocol) time server for the current time. it exports a single method (get_ntp_response) and returns an associative array based upon rfc1305 and rfc2030. the response from the server is "humanized" to a point that further processing of the information received from the server can be manipulated. for example: timestamps are in epoch, so one could use the localtime function to produce an even more "human" representation of the timestamp.