On 9 Jul 2001, at 12:09, Bill Downall wrote:
> I don't understand your question though. Do you WANT 01 for 2001 to
> be less than 99 or 1999, or not?
Well, not... I can't think of a circumstance when 2001 should be
less than 1999.
> If you want "01" to be greater than "99", then use iyr4().
That's great! Didn't see that in my 6.5 online reference. Should
have checked R:Syntax... must be a new function??
Thanks!
Ben Petersen
>
> 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?
>
>
>
>
>