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!news2.google.com!postnews.google.com!d55g2000hsg.googlegroups.com!not-for-mail From: koburtch@gmail.com Newsgroups: comp.lang.ada Subject: Re: Getting current date and time Date: Mon, 23 Jul 2007 08:24:38 -0700 Organization: http://groups.google.com Message-ID: <1185204278.963777.297060@d55g2000hsg.googlegroups.com> References: <1185139279.071088.106330@d55g2000hsg.googlegroups.com> <1185145228.126307.301840@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: 209.159.182.101 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1185204279 10977 127.0.0.1 (23 Jul 2007 15:24:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 23 Jul 2007 15:24:39 +0000 (UTC) In-Reply-To: <1185145228.126307.301840@d55g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20061023 SUSE/2.0.0.4-1.1 Firefox/2.0.0.4,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: d55g2000hsg.googlegroups.com; posting-host=209.159.182.101; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news1.google.com comp.lang.ada:16554 Date: 2007-07-23T08:24:38-07:00 List-Id: On Jul 22, 7:00 pm, Martin wrote: > On 22 Jul, 22:21, Maciej Sobczak wrote: > > > It looks like there is no standard package for handling current time > > and date and operations of these entities. > > > What are the available solutions? > > > -- > > Maciej Sobczakhttp://www.msobczak.com/ > > Ada.Calendar > > or if you have an Ada2005 compiler > > Ada.Calendar + Ada.Calendar.Arithmetic, Ada.Calendar.Formatting and > Ada.Calendar.Time_Zones > > Cheers > -- Martin You can see an example in my Big Online Book of Linux Ada Programming at http://www.pegasoft.ca/boblap.html in Section 12.6. Ken B.