Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65000

Convert NTP timestamp from NTP packet to System time and date format

From Sadia Bashir <11msccssbashir@seecs.edu.pk>
Date 2014-01-30 18:34 +0500
Subject Convert NTP timestamp from NTP packet to System time and date format
Newsgroups comp.lang.python
Message-ID <mailman.6136.1391089713.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello everyone;

I want to write NTP client which sends and receives NTP packet to NTP
server and should read the value from one of the four offsets and convert
it to user readable local or GMT time format, I specifically want to know
which offsets should I read in order to get correct timestamp from the
packet.
Any suggestion or help will be appreciated.

-- 
*Sadia*

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Convert NTP timestamp from NTP packet to System time and date format Sadia Bashir <11msccssbashir@seecs.edu.pk> - 2014-01-30 18:34 +0500

csiph-web