[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple date question



PureBytes Links

Trading Reference Links

if Date < 1081231 then begin

Before 2000 they wrote dates as 980214 for 2/14/98, which was very common.

When 2000 came around, this stopped working so they kludged it to 1081231 for 12/31/08.

You get used to it...

Bob Fulks

At 02:32 PM 6/17/2008, Chris Evans wrote:

>These (EL) dates drive me crazy - if I want to say wrap a date condition
>around a strategy so that it only works up to a certain date .. I need to
>write
>
>If date<Dec 31 2008 then begin;
>
>Strategy code...
>
>End;
>
>How do I write the first line?