From: Phil Carmody <carmody@cpd.ntc.nokia.com>
To: axp-list@redhat.com
Subject: Re: Converting time (since 01-01-1970) to Epoch
Date: Tue, 18 May 1999 16:18:12 +0100 [thread overview]
Message-ID: <199905181518.QAA10883@mvagusta> (raw)
In-Reply-To: <199905181416.QAA27835@dns.rgn.it> (message from Franco Tassone on Tue, 18 May 1999 16:16:58 +0200 (CEST))
>>>>> "Franco" == Franco Tassone <franco@dns.rgn.it> 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
next prev parent reply other threads:[~1999-05-18 15:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-18 14:16 Converting time (since 01-01-1970) to Epoch Franco Tassone
1999-05-18 15:18 ` Phil Carmody [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-05-20 0:14 Tom King
1999-05-19 9:54 Wessels, Hans
1999-05-19 8:57 Paul Jakma
1999-05-18 13:27 Paul Jakma
1999-05-18 12:20 Franco Tassone
1999-05-18 16:13 ` Michal Jaegermann
[not found] ` <michal@ellpspace.math.ualberta.ca>
1999-05-19 9:51 ` Franco Tassone
1999-05-19 9:23 ` Dr . David Alan Gilbert
1999-05-19 9:33 ` Phil Carmody
1999-05-20 4:06 ` Huw Davies
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox