Lamar Owen wrote:
> 
> Vincent Jardin wrote:
> >
> > Extract from the <time.h> ISO C Standard: 4.12 DATE and TIME version
> > 1999 :
> [snip]
> >   int tm_year;                  /* Year - 1900.  */
> [snip]
> > The problem is the format used for the year : year - 1900
> > What will happen at the end of the year ?
> 
> tm_year will increment to 100.  Thus, 2010 will be 2010-1900=110.
> 
Not exactly, because I saw in the source of sh-utils that if the 00 <=
year < 68, then the year=year+2000 else year = year + 1900 !!!!


-- 
Ecole
Nationale
Sup�rieure des
T�l�communications

** TELECOM PARIS **
promo 2001 - Vincent Jardin - e-mail : [EMAIL PROTECTED]

Reply via email to