TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: MIKE RUSKAI
from: Jonathan de Boyne Pollard
date: 1999-12-04 10:11:21
subject: Clocked!

 JDBP>> No.  The limits of 32-bit implementations of the C language and the
 JDBP>> C++ language are 2038-01-19 and 2106-02-07, respectively,
 JDBP>> depending from whether the underlying type of `time_t' is signed
 JDBP>> or unsigned.

 JDBP>> The limits of 64-bit implementations of the C language and the C++
 JDBP>> language are somewhat higher.

 MR> This strikes me as something of an understatement.

I gather that the British are famous for that.

 MR> A signed 64-bit integer would make the C timestamp function until the
 MR> universe is about 20 times older than it currently is, long after the
 MR> sun and earth are gone.
 MR>
 MR> Using the same integer as a millisecond counter would last for over
 MR> 292 million years.

Some operating systems use 64-bit nanosecond counters with zero as the start
of the year 1600 (Gregorian).

 ¯ JdeBP ®

--- FleetStreet 1.22 NR
* Origin: JdeBP's point, using Squish (2:257/609.3)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.