From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: Re: Timestamps in Ada
Date: Thu, 14 Mar 2002 16:42:56 +0100
Date: 2002-03-14T16:42:56+01:00 [thread overview]
Message-ID: <3C90C500.EF4A566F@icn.siemens.de> (raw)
In-Reply-To: 3C8DE8B0.51FA1AE8@earthlink.net
"Marc A. Criley" wrote:
> > how can I get the Date and Time in Ada? and conversion to string?
>
> Use the Clock function in the standard Calendar package to get the time
A while ago I wrote a program (GNAT 3.13p, WinNT, 3 tasks) which used
the "Calendar" package to write timestamps into a logfile, but I
realised that when the system time changes (due to sync with a time
server, or even by calling "Time" in a DOS window), the Ada.Calendar
time doesn't change. So the logfile didn't reflect the events correctly.
next prev parent reply other threads:[~2002-03-14 15:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-12 12:07 Timestamps in Ada A.I
2002-03-12 12:34 ` Marc A. Criley
2002-03-12 12:48 ` Peter Hermann
2002-03-12 13:21 ` Nazgul
2002-03-12 16:44 ` Jeffrey Carter
2002-03-14 15:42 ` Alfred Hilscher [this message]
2002-03-12 14:40 ` Georg Bauhaus
2002-03-12 18:15 ` Ada docs, was " tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox