On Tue, Feb 24, 2009 at 11:02 AM, Abigail <abig...@abigail.be> wrote: > On Sat, Feb 21, 2009 at 04:00:28PM -0600, Craig A. Berry wrote: >> >> That's better than failing in 2038, but if you were doing calculations >> for a 99-year lease you'd already be in trouble today. > > That's a doubtful statement. Leases typically have an end *date*, not > an end *second*.
Er, the topic under discussion is how to make APIs that do everything in terms of seconds since the epoch count high enough to deal with dates of potential interest in the future. It doesn't matter whether you're happy to have the final result expressed in days or months if you have to use seconds to get there. Nor is it relevant that there are other things than seconds that one could potentially count: people expect to use localtime() and gmtime(), so these need to be made to work.