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-Thread: 103376,27d478aa577d0f8b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 23 Jul 2007 21:26:15 +0200 From: Gautier User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Getting current date and time References: <1185139279.071088.106330@d55g2000hsg.googlegroups.com> In-Reply-To: <1185139279.071088.106330@d55g2000hsg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 85.1.151.150 X-Original-NNTP-Posting-Host: 85.1.151.150 Message-ID: <46a50072$1_6@news.bluewin.ch> X-Trace: news.bluewin.ch 1185218674 85.1.151.150 (23 Jul 2007 21:24:34 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns11feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:16564 Date: 2007-07-23T21:26:15+02:00 List-Id: Maciej Sobczak wrote: > It looks like there is no standard package for handling current time > and date and operations of these entities. No only there is a standard package (see Martin's answer), but it is even there from the very first version of Ada (1983)! Then it was Calendar, already with nice overloaded operators (time - time -> duration, time + duration -> time, etc.) and other useful functions. http://archive.adaic.com/standards/83lrm/html/lrm-09-06.html It seems tat Ada.Calendar (95, 2005) just adds the "Ada.". ______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!