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


Groups > comp.lang.python > #65000 > unrolled thread

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

Started bySadia Bashir <11msccssbashir@seecs.edu.pk>
First post2014-01-30 18:34 +0500
Last post2014-01-30 18:34 +0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#65000 — Convert NTP timestamp from NTP packet to System time and date format

FromSadia Bashir <11msccssbashir@seecs.edu.pk>
Date2014-01-30 18:34 +0500
SubjectConvert NTP timestamp from NTP packet to System time and date format
Message-ID<mailman.6136.1391089713.18130.python-list@python.org>

[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*

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web