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.4 required=5.0 tests=BAYES_00,DATE_IN_PAST_24_48, FORGED_GMAIL_RCVD,FREEMAIL_FROM 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.66.77.101 with SMTP id r5mr1491905paw.27.1343312390550; Thu, 26 Jul 2012 07:19:50 -0700 (PDT) Path: b9ni64723931pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!xlned.com!feeder7.xlned.com!border1.hitnews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: sla29970@gmail.com Newsgroups: comp.lang.ada Subject: Re: Ada.Calendar and NTP (and Unix Epoch) Date: Tue, 24 Jul 2012 19:23:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <500dc548$0$2936$f40e02c5@shockwave.dk.telia.net> NNTP-Posting-Host: 63.249.88.80 Mime-Version: 1.0 X-Trace: posting.google.com 1343183032 28606 127.0.0.1 (25 Jul 2012 02:23:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Jul 2012 02:23:52 +0000 (UTC) In-Reply-To: <500dc548$0$2936$f40e02c5@shockwave.dk.telia.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=63.249.88.80; posting-account=_HzwpQoAAAA-KUkBp4RlhxHpcgxp4nfX User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-24T19:23:52-07:00 List-Id: On Monday, July 23, 2012 2:42:32 PM UTC-7, erlo wrote: > This is because Ada.Calendar starts at 1-1-1901. But NTP starts at=20 > 1-1-1900, so how can I work my way around this issue? I need to compare= =20 > NTP time with Unix Epoch based time. What time scale is being used? Is that time scale counting mean solar seco= nds or atomic seconds? Of course UTC and atomic time did not exist at thos= e epochs, but unless the situation defines the time scale a problem exists = even if the year in question is 1972. See http://www.ucolick.org/~sla/leapsecs/epochtime.html