comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: FILETIME <-> Ada.Real_Time.Time conversions
Date: Mon, 24 Dec 2001 18:21:36 GMT
Date: 2001-12-24T18:21:36+00:00	[thread overview]
Message-ID: <QmKV7.1288$uM.3857@rwcrnsc54> (raw)
In-Reply-To: 3c274c05.3132920@news.cis.dfn.de

>>>Ada.Real_Time.Time is well correlated with UTC, but there is no way to
>>>convert one to other.
>>  Package Ada.Calendar does that all the time.  Inside the computer is
>When Ada.Calendar.Split tells me MM/DD/YY HH:MM:SS.DD I still cannot
>use this information without knowing the computer location and local
>rules regarding time faking.
  Ada.Calendar did some transformation on the Ada.Real_Time counter to
get MM/DD...  and you want to invert that transformation, right?  But
it sounds to me like you have a computer which has been blindfolded
and taken to a secret location.  The only information it has is the
clock on the wall in its cell, and it wants to know what time it is
in Greenwich, England.  It either must communicate, but
> cannot directly synchronize clocks because the connection is too bad
or else it must somehow find out where (what time zone) it's in, but
>without knowing the computer location and local rules regarding time faking
Sounds impossible to me.



  reply	other threads:[~2001-12-24 18:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18 12:53 FILETIME <-> Ada.Real_Time.Time conversions Dmitry A. Kazakov
2001-12-19  9:02 ` Alfred Hilscher
2001-12-19 13:37   ` Dmitry A. Kazakov
2001-12-19 15:06     ` Steve Doiel
2001-12-20 11:27       ` M. A. Alves
2001-12-20 15:10       ` Dmitry A. Kazakov
2001-12-21  3:13         ` Steve Doiel
2001-12-21 10:26           ` Dmitry A. Kazakov
2001-12-21 16:18             ` Steve Doiel
2001-12-24 18:02               ` Dmitry A. Kazakov
2001-12-21  6:17         ` tmoran
2001-12-21  8:51           ` Dmitry A. Kazakov
2001-12-21 18:17             ` tmoran
2001-12-24 15:59               ` Dmitry A. Kazakov
2001-12-24 18:21                 ` tmoran [this message]
2001-12-25 15:53                   ` Dmitry A. Kazakov
replies disabled

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