delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/19:06:42

Date: Fri, 7 Jan 2000 01:05:23 +0100 (CET)
From: Wilmer van der Gaast <lintux AT dds DOT nl>
To: djgpp AT delorie DOT com
Subject: Re: y2k problem and BIOS-Editor
In-Reply-To: <3.0.6.16.20000104110739.359f5942@mail.cybercable.fr>
Message-ID: <Pine.LNX.4.10.10001070056580.9669-100000@server.minilinux.org>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 4 Jan 2000, Michelle Konzack wrote:

> The Computer runs under Linux...
> 
> OK, I know DR-Dos is working very well ;-)) but my Mainboards are jumping 
> not to 1980 but 1900  ;-)) which mean the "19" is hardcoded in the Bios.
I think Linux should understand that the century is 20, and because dates
are stored as the number of seconds after 01-01-1970 00:00 GMT it can't even
handle dates in 1900. But if things don't work you can try a line like this
in rc.sysinit

date `date '+%m%d%H%M20%y'`
or
date `date '+%m%d%H%M2000'`

and update the year every year.


Greetings,

---------

Wilmer van der Gaast (lintux AT dds DOT nl)
ICQ 55707076

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019