[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] TLF bug report... 0.9.22-1
From: |
Joop Stakenborg |
Subject: |
Re: [Tlf-devel] TLF bug report... 0.9.22-1 |
Date: |
Wed, 27 Apr 2005 10:15:01 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.3a |
>> Maybe you should use 4 characters... 1999, 2000, 2001, 2002, ...
>
> This is because tlf uses the standard TRlog format... It is not
> difficult to convert this into a 4-character format (I think Xlog does
> it...). Something like IF year > 50 then year += 1900 ELSE year += 2000
>
Some functions in the GNU C-library do this automatically, e.g. if you use
strptime:
values in the range 69-99 refer to years in the twentieth century
(1969-1999); values in the range 00-68 refer to years in the twenty-first
century (2000-2068).
Check the manual page...
Regards,
Joop PG4I