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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9bf374bb64ca66ae X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-13 12:38:09 PST Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.stealth.net!news-east.rr.com!news.rr.com!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.91.0.34!typhoon.ne.mediaone.net.POSTED!not-for-mail From: "Jeff Creem" Newsgroups: comp.lang.ada References: Subject: Re: Trying to PUT a time 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 Message-ID: <5zIB6.4747$bA2.1395732@typhoon.ne.mediaone.net> Date: Fri, 13 Apr 2001 19:36:33 GMT NNTP-Posting-Host: 24.147.67.93 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 987190593 24.147.67.93 (Fri, 13 Apr 2001 15:36:33 EDT) NNTP-Posting-Date: Fri, 13 Apr 2001 15:36:33 EDT Organization: Road Runner Xref: supernews.google.com comp.lang.ada:6870 Date: 2001-04-13T19:36:33+00:00 List-Id: It is a private type. That means you have to use the operators in the package where it is defined to work with it. Given that, have you tried something like (with regrets to the ghost of Mr. Dewar for not compiling this first!) with Ada.Real_Time; with Text_IO; procedure Print_It is The_Time : Ada.Real_Time.Time := Ada.Real_Time.Clock; The_Seconds_Portion : Ada.Real_Time.Seconds_Count; The_Timespan_Portion : Ada.Real_Time.Time_Span; begin Ada.Real_Time.Split(T => The_Time, SC => The_Seconds_Portion, TS => The_Timespan_Portion); Text_IO.Put_Line("Seconds :" & Ada.Real_Time.Seconds_Count'image(The_Seconds_Portion)); Text_IO.Put_Line("The Rest: " & Duration'image (Ada.Real_Time.To_Duration(The_Timespan_Portion))); end Print_It; It may not be exactly correct but should be close. wrote in message news:EaIB6.266$tO6.2764@newsfeed.slurp.net... > I've tried everything I can think of to print a > variable of type ADA.REAL_TIME_TIME. Does anyone > know how I can do this? > > TIA