Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!bbn!mit-eddie!rutgers!apple!bionet!agate!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.std.c Subject: Re: The type of time_t (was: struct tm -> time_t converter wanted) Message-ID: <11580012@hpisod2.HP.COM> Date: 22 Oct 88 08:05:41 GMT Article-I.D.: hpisod2.11580012 References: <9816@haddock.ima.isc.com> Organization: Hewlett Packard, Cupertino Lines: 9 > There's nothing to prevent time_t from being typedef'd to unsigned long int, > which would double the range. (Also, it would not surprise me if by 2038 > there were no serious machines with only 32 bits in a long int.) In fact, the last time I checked, time_t was erquired to be an "arithmetic" type, not necessarily an integral type. So, you could use double to implement it, correct? Dave