From owner-freebsd-questions Mon Jul 8 16:32:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA18921 for questions-outgoing; Mon, 8 Jul 1996 16:32:31 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA18916 for ; Mon, 8 Jul 1996 16:32:29 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA22948; Mon, 8 Jul 1996 16:28:37 -0700 From: Terry Lambert Message-Id: <199607082328.QAA22948@phaeton.artisoft.com> Subject: Re: Handling time after 1999 To: lcurtis@intecom.com (Leon Curtis) Date: Mon, 8 Jul 1996 16:28:37 -0700 (MST) Cc: FreeBSD-questions@FreeBSD.org In-Reply-To: from "Leon Curtis" at Jul 8, 96 09:08:12 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I have been asked to look into what other unix kernel groups are planning > to do to address problems with time when the year 2000 arrives. Nothing. But life will be a real bitch come 2038, when the 32 bit timeval's all roll over. > I would appreciate any pointers that would enable me to get "plugged in" > to any dialog / specifications relating to this issue. In general, new UNIX systems use a 64 bit time value, which should be sufficient for the next ~100 billion years. > I work for a company that owns a version of (real time) unix put out > by LynxOS (Los Gatos, California). Our PBX product runs this OS and will > be the benefactor of the time changes. The time problems most systems run into are the use of two character date input and storage fields. There is currently no problem with that for any software known to be on BSD. The typical failure case is for COBOL or "business FORTRAN" users who hard coded small date fields to meet input packing constraints (need to fit this teeny form onto the screen) or who implemented "easier input" mechanisms (to keep people from having to type "19" in front of their years). In general, this is *purely* a database/UI problem. In 2038, if the UNIX programmers used time_t like they were supposed to, then a simple recompile will fix the problem, with no additional changes necessary )(the file system already has reserved space for 64 bit dates). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.