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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cb708cd6d4788d36 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-02 10:33:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.stealth.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr14.news.prodigy.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: RE: How to calculate the number of seconds since January 1st, 1970 ? References: X-Newsreader: Tom's custom newsreader Message-ID: <4Pmq8.1989$883.894114018@newssvr14.news.prodigy.com> NNTP-Posting-Host: 64.175.241.193 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr14.news.prodigy.com 1017772352 ST000 64.175.241.193 (Tue, 02 Apr 2002 13:32:32 EST) NNTP-Posting-Date: Tue, 02 Apr 2002 13:32:32 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: Q[RGGTSDZRRQBQH]]RKB_UDAZZ\DPCPDLXUNNHXIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM Date: Tue, 02 Apr 2002 18:32:32 GMT Xref: archiver1.google.com comp.lang.ada:22008 Date: 2002-04-02T18:32:32+00:00 List-Id: >Indeed, GNAT's Duration spans circa 6 centuries: But the ARM only requires Duration to include -86400.0 .. 86400.0 >So the original poster must be using either > > - another compiler So he can either lock himself into ACT as a vendor, or use one of the previously mentioned utilities (e.g. see www.adapower.com). Of course Ada.Calendar.Clock returns a rather arbitrary number dependent on the time zone and the accuracy of the system operator's watch and the accuracy of the computer's clock, so it's a rather nominal source for the actual number of seconds since 1/1/70 00:00:00