Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jan 1997 10:56:10 -0700
From:      Warner Losh <imp@village.org>
To:        Darren Reed <avalon@coombs.anu.edu.au>
Cc:        wilko@yedi.iaf.nl (Wilko Bulte), hackers@freebsd.org
Subject:   Re: Year 2000 time change(Format support) 
Message-ID:  <E0vi2EU-00030G-00@rover.village.org>
In-Reply-To: Your message of "Wed, 08 Jan 1997 21:22:29 %2B1100." <199701081022.CAA25400@freefall.freebsd.org> 
References:  <199701081022.CAA25400@freefall.freebsd.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199701081022.CAA25400@freefall.freebsd.org> Darren Reed writes:
: Are there any cases where software calculates a year that is in the range
: 0-99 and then adds that to 1900 ?

There are many places where years are displayed as tm_yr + 1900, but
that is the right thing to do (since tm_yr isn't in the range 0..99).

: Or any that displays 19%d ?

Likely.  I keep seeing such things.  A quick grep of the source tree
will tell the anser to that :-).

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0vi2EU-00030G-00>