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,f3f07e9e53bcc4f6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-19 01:02:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.esat.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed.siemens.de!news.mch.sbs.de!not-for-mail From: Alfred Hilscher Newsgroups: comp.lang.ada Subject: Re: FILETIME <-> Ada.Real_Time.Time conversions Date: Wed, 19 Dec 2001 10:02:39 +0100 Organization: Siemens AG Message-ID: <3C2057AF.323DFF5C@icn.siemens.de> References: <3c1f3917.16015859@News.CIS.DFN.DE> NNTP-Posting-Host: 139.21.122.158 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:18084 Date: 2001-12-19T10:02:39+01:00 List-Id: On WinXX I would first convert FileTime to SystemTime (which is more appropriate). BOOL FileTimeToSystemTime( CONST FILETIME * lpFileTime, // pointer to file time to convert LPSYSTEMTIME lpSystemTime // pointer to structure to receive system time ); "Dmitry A. Kazakov" wrote: > > Hi! > > Is there a portable non-statistical way to implement FILETIME* (or any > other absolute time) <-> Ada.Real_Time.Time conversions? > > Regards, > Dmitry Kazakov > > * FILETIME (Win32) is 100-nanosecond count (64-bit) since January 1, > 1601.