From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,59c3b3f9911c9191 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.39.72 with SMTP id f8mr1347723qae.7.1343314187571; Thu, 26 Jul 2012 07:49:47 -0700 (PDT) Received: by 10.66.85.231 with SMTP id k7mr1793754paz.38.1343314066007; Thu, 26 Jul 2012 07:47:46 -0700 (PDT) Path: a15ni105485768qag.0!nntp.google.com!q21no15858703qas.0!news-out.google.com!p10ni64698300pbh.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!82.197.223.106.MISMATCH!feeder1.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.11.MISMATCH!feed.xsnews.nl!border-1.ams.xsnews.nl!newsfeed.straub-nv.de!news.swapon.de!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada.Calendar and NTP (and Unix Epoch) Date: Tue, 24 Jul 2012 09:11:57 +0200 Organization: cbb software GmbH Message-ID: <1e0fmpgo1d8ke.7gc1rzrv8v72.dlg@40tude.net> References: <500dc548$0$2936$f40e02c5@shockwave.dk.telia.net> <18893cca-baa2-4930-bfb4-4c4f7eb7e983@googlegroups.com> <5s8s08lv6dj1i4tkb99roq9roifsgr44vd@invalid.netcom.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Bytes: 1771 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-07-24T09:11:57+02:00 List-Id: On Tue, 24 Jul 2012 00:37:13 -0400, Dennis Lee Bieber wrote: > On Mon, 23 Jul 2012 15:07:48 -0700 (PDT), Adam Beneschan > declaimed the following in comp.lang.ada: > > My gut feeling is that if NTP gives you a time in the range 1-1-1900 to > 12-31-1900, something is pretty wrong because computers didn't exist > during that time period. So I'm not really sure what the issue is. I > think you need > > Nonetheless, it appears that a 128bit value of all 0s represents the > epoch for Network Time Protocol... Is NTP political time? If not, it does not make much sense to convert it Ada.Calendar.Time anyway. Ada.Real_Time.Time looks more appropriate. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de