Ben,
Definitely not a bug.
I don't understand your question though. Do you WANT 01 for 2001 to
be less than 99 or 1999, or not?
If you want "01" to be greater than "99", then use iyr4(). Then your
date format doesn't matter.
If you DON'T want 01 to be less than 99, then set your date format to
MM/DD/YY, and use iyr().
Bill
On Mon, 9 Jul 2001 09:48:05 +0100, Ben Petersen wrote:
>It seems a comparison like
>If (iyr(.date_1)) > (iyr(.date_2)) then ...
>uses the number of digits set in the date format.
>So with a two digit year format (20)01 < (19)99
>if date_1 > .date_2 then ..
>compares accurately regardless.
>
>Is this a bug, or is there a reason for it?