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,8c2975e461a425,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!k79g2000hse.googlegroups.com!not-for-mail From: j.khaldi@oltrelinux.com Newsgroups: comp.lang.ada Subject: function Clock return Time; Time is a number, a string...? Date: Tue, 06 Nov 2007 14:32:31 -0800 Organization: http://groups.google.com Message-ID: <1194388351.937058.41110@k79g2000hse.googlegroups.com> NNTP-Posting-Host: 80.67.112.156 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1194388352 31086 127.0.0.1 (6 Nov 2007 22:32:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 6 Nov 2007 22:32:32 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k79g2000hse.googlegroups.com; posting-host=80.67.112.156; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news1.google.com comp.lang.ada:18216 Date: 2007-11-06T14:32:31-08:00 List-Id: In "package Ada.Calendar".. function Clock return Time; // what is the type of Time here? A string? A number? Something else? "Time" has been declarated "private", this means it is untyped yet; In other words, if I had to call the the function Year with the argument Date, how should I do: Date := The_Date; // for example: 11 dicember 2004 GetYear := Year(Date); Thanks! Jilani