Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65000
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <11msccssbashir@seecs.edu.pk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'receives': 0.04; 'offsets': 0.16; 'readable': 0.16; 'subject:Convert': 0.16; 'subject:format': 0.16; 'timestamp': 0.16; 'format,': 0.24; 'sends': 0.24; 'specifically': 0.29; 'correct': 0.29; 'appreciated.': 0.29; 'message-id:@mail.gmail.com': 0.30; 'subject:time': 0.33; 'subject:from': 0.34; 'received:209.85': 0.35; 'convert': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'received:209': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; 'everyone;': 0.84 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=1w4TfvQdiPUoudFFkt1ngF8e3DNSSytSxE4XXJvURZs=; b=cD5Q43WV8k0YcYRwTdkY03oDMuJ1Zp2bagawo0VL36WTUTn5KJJSCFoLzWLyecoOwj Yj+CGxKDW+rQf1TfVzRNkKzBx0BSm/Svw2wgUQm2Q3UskDf/YjWYesBkDgV2NQkBi1sT kIs56kFoVdI+2Yv5lfsuwYRQryxhXYf69d6PMavEtcKknMfCVzWf6gwylBWZUeIqf7ej XBmeX1sDLmgF7sRWKvBvT2Hh5X+R5/Ho5alqU8JYLfwrNbKNXIjBWZ4d5QisGFW4VpL3 oLRM+FFziYZF38sZg52UOvKbHQe/ervv9IyprazR2Abr3EdMCmvzB/cCXooMY5Av4yRf V9sA== |
| X-Gm-Message-State | ALoCoQlPj2C9fgE9xug+Dfuv8cz55VdO8d4utyr8gQQk3THmLHvgbnjArz0lo9TVOOCJmFMnSGjr |
| X-Received | by 10.66.50.105 with SMTP id b9mr14437406pao.9.1391088868699; Thu, 30 Jan 2014 05:34:28 -0800 (PST) |
| MIME-Version | 1.0 |
| From | Sadia Bashir <11msccssbashir@seecs.edu.pk> |
| Date | Thu, 30 Jan 2014 18:34:04 +0500 |
| Subject | Convert NTP timestamp from NTP packet to System time and date format |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=bcaec53f92addecddb04f1301dbb |
| X-Mailman-Approved-At | Thu, 30 Jan 2014 14:48:32 +0100 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6136.1391089713.18130.python-list@python.org> (permalink) |
| Lines | 31 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1391089713 news.xs4all.nl 2924 [2001:888:2000:d::a6]:51838 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65000 |
Show key headers only | 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
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