From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5167 invoked from network); 18 May 1999 15:57:34 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 May 1999 15:57:34 -0000 Received: from axl01it.ntc.nokia.com (axl01it.ntc.nokia.com [131.228.118.232]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id LAA03466 for ; Tue, 18 May 1999 11:19:00 -0400 Received: from ducati.uk.ntc.nokia.com (ducati.uk.ntc.nokia.com [131.228.132.169]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with ESMTP id SAA03704 for ; Tue, 18 May 1999 18:17:21 +0300 (EET DST) Received: from mvagusta (mvagusta [131.228.132.173]) by ducati.uk.ntc.nokia.com (8.6.9/8.6.9) with ESMTP id QAA00829 for ; Tue, 18 May 1999 16:18:13 +0100 From: Phil Carmody Received: (carmody@localhost) by mvagusta (SMI-8.6/8.6.9) id QAA10883; Tue, 18 May 1999 16:18:12 +0100 Date: Tue, 18 May 1999 16:18:12 +0100 Message-Id: <199905181518.QAA10883@mvagusta> To: axp-list@redhat.com In-reply-to: <199905181416.QAA27835@dns.rgn.it> (message from Franco Tassone on Tue, 18 May 1999 16:16:58 +0200 (CEST)) Subject: Re: Converting time (since 01-01-1970) to Epoch Mime-Version: 1.0 (generated by tm-edit 7.68) Content-Type: text/plain; charset=US-ASCII >>>>> "Franco" == Franco Tassone writes: Franco> Unfortunatelly, time_t in Irix is defined as long (4 bytes), while time_t Franco> in AlphaLinux is 8 bytes long, though defined as long. Franco> It seems to me that time/date info stores differently in a time_t Franco> variable, from SGI to Linux. This is a red herring. The time stamps have the same numeric value, even if they are represented differently. The 32 most significant bits of the time_t on an alpha will be zero (until 4 decades time) and the lowest 32 bits will be identical. The actual storage of the date in the RTC (real time clock) hardware on the motherboard is the only place where different values will be found, but the OS hides that (using standard C structures/types like time_t). Phil