Convert to NTP Timestamp

M

Manzoorul Hassan

I need to convert a date / time to NTP Timestamp, in HEX no less, and
was wondering if there might be a module for it.

Any ideas? I have been searching for NTP Timestamp under Perl but have
not found much - yet.

- manzoor
 
J

Jim Gibson

Manzoorul Hassan said:
I need to convert a date / time to NTP Timestamp, in HEX no less, and
was wondering if there might be a module for it.

Any ideas? I have been searching for NTP Timestamp under Perl but have
not found much - yet.

I googled 'perl ntp timestamp' and got this interesting link:

<http://www.kloth.net/software/sntp.php>

a complete NTP client in Perl that prints out the timestamp in hex.
Maybe that would help. There is also the Net::NTP module on CPAN
(<http://search.cpan.org>).

This newsgroup is defunct. Ask general Perl questions in
comp.lang.perl.misc and questions about Perl modules in
comp.lang.perl.modules.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top