Hi, according to 'man 2 time' the starting age for time_t is 1/1/1970 instead of 80. Otherwise your statement is correct. Regards, Imre On Wed, 22 Sep 1999, bowman wrote: > Wagner Lipnharski wrote: > > > I will change date to 2039 in my laptop (at home) and make some tests > > about extract date/time from DOS Time Functions and post the result > > tonight. > > > I don't know what happens to the extra seconds, but if you run 12/31/37 > through the gcc C library conversions to a time_t val, it gets close to > 0x7fffffff. Conversely, a time_t == 0 converts to 1/1/80. Trying to > convert 1/1/38 yields -1. > > If nothing else, software using the C library localtime(), mktime() etc > will have trouble if time_t doesn't get kicked out to 64 bits. Not a > personal concern of mine; if I live that long, software will be the > least of my problems. > > > > -- > Bear Technology Making Montana safe for Grizzlies > > http://people.montana.com/~bowman/ > >