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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6ea0a5c35bbeef5e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-13 06:37:28 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: calander package Date: Tue, 13 Mar 2001 09:24:37 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <98lak1$1f4$1@nh.pace.co.uk> References: <98jo6d$vu4$1@slb3.atl.mindspring.net> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 984493505 1508 136.170.200.133 (13 Mar 2001 14:25:05 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 13 Mar 2001 14:25:05 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:5678 Date: 2001-03-13T14:25:05+00:00 List-Id: What you'll have to do is take the individual pieces of the date/time and convert them to appropriate strings. There are no subprograms defined in Calendar to automatically give you the date/time as string values. If you want some help with this, check out my web page: http://www.mcondic.com/ and look for the "Ada Programming" subpage. There's a collection of code there under the title "Utilities" in which you'll find a package that formats dates/times into various styles. Hope this helps! MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "arcele" wrote in message news:98jo6d$vu4$1@slb3.atl.mindspring.net... > Hi, i'm trying to use to calender package to put the current date into a > string or integer. I understand taht using calandar.split will split the > days, hours, etc. but how can i use the package to put the date in the form > of yymmdd ???? thanks in advance for any help - ryan > >