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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,27d478aa577d0f8b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!d55g2000hsg.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Getting current date and time Date: Tue, 24 Jul 2007 02:58:50 -0700 Organization: http://groups.google.com Message-ID: <1185271130.259309.286700@d55g2000hsg.googlegroups.com> References: <1185139279.071088.106330@d55g2000hsg.googlegroups.com> <1185145228.126307.301840@d55g2000hsg.googlegroups.com> <1185220676.926492.258330@g4g2000hsf.googlegroups.com> <1185220926.372760.52420@q75g2000hsh.googlegroups.com> <1185221307.073177.279370@n60g2000hse.googlegroups.com> <1185227010.432172.50300@e16g2000pri.googlegroups.com> <1185267194.506294.197760@w3g2000hsg.googlegroups.com> <1185270067.24786.10.camel@kartoffel> NNTP-Posting-Host: 137.138.37.241 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1185271130 4864 127.0.0.1 (24 Jul 2007 09:58:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Jul 2007 09:58:50 +0000 (UTC) In-Reply-To: <1185270067.24786.10.camel@kartoffel> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070601 Red Hat/1.5.0.12-0.1.slc3 Firefox/1.5.0.12,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: d55g2000hsg.googlegroups.com; posting-host=137.138.37.241; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news1.google.com comp.lang.ada:16587 Date: 2007-07-24T02:58:50-07:00 List-Id: On 24 Lip, 11:41, Georg Bauhaus wrote: > If recomputing the seconds doesn't seem adequate, > and you want Unix epoch seconds, why not call the > system function that provides Unix epoch seconds? This can break portability (not that I'm actually very much interested in preserving it). It looks like this is the most adequate approach here. -- Maciej Sobczak http://www.msobczak.com/