comp.lang.ada
 help / color / mirror / Atom feed
* Help - time to string query
@ 2002-12-11  8:30 TAMS Team
  2002-12-12  3:52 ` SteveD
  0 siblings, 1 reply; 5+ messages in thread
From: TAMS Team @ 2002-12-11  8:30 UTC (permalink / raw)


Hi!

Hopefully this is a very simple question (from a very simple programmer!).
I'm using a parameter of type ada.real_time.time in my program and I need to
be able to convert this into a string.  Can't suss how to achieve this, and
it's getting to the brick wall/head banging stage.  I'm sure I should be
using something like 'image, but can't figure out how to do it.

How do I do it?!

Cheers,

Mike Clarke





^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Help - time to string query
@ 2002-12-11  8:48 Grein, Christoph
  0 siblings, 0 replies; 5+ messages in thread
From: Grein, Christoph @ 2002-12-11  8:48 UTC (permalink / raw)


> Hopefully this is a very simple question (from a very simple programmer!).
> I'm using a parameter of type ada.real_time.time in my program and I need to
> be able to convert this into a string.  Can't suss how to achieve this, and
> it's getting to the brick wall/head banging stage.  I'm sure I should be
> using something like 'image, but can't figure out how to do it.

Use Ada.Real_Time.Split to produce an integer type Seconds_Count. You can then use 'Image on the 
result.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-12 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-11  8:30 Help - time to string query TAMS Team
2002-12-12  3:52 ` SteveD
2002-12-12 15:42   ` Toshitaka Kumano
2002-12-12 18:26     ` Randy Brukardt
  -- strict thread matches above, loose matches on Subject: below --
2002-12-11  8:48 Grein, Christoph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox