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

Re: code - Correction



PureBytes Links

Trading Reference Links

What happens in the year 2000 when the date will go to 000101?

Rich Davidson

----------
> From: Bob Fulks <bfulks@xxxxxxxxxxxx>
> To: Andrew Ross Abraham <angus@xxxxxxxxxxxx>
> Cc: omega-list@xxxxxxxxxx
> Subject: Re: code - Correction
> Date: Wednesday, April 08, 1998 10:07 AM
> 
> At 10:26 AM -0400 4/8/98, Andrew Ross Abraham wrote:
> 
> >Was hoping someone can help me.. I would like to send out an ela and
> >attach it to someones block number.. also how would I be able to make
> >an ela valid for just a trial period.. thanks
> 
> The function used in my previous message should have been CurrentDate not
> Date. The corrected code is below.
> 
> Assuming a block number of 12345 and a cutoff date of 7/1/98, try the
> following:
> 
> if BlockNumber = 12345 and CurrentDate < 980701 then begin
>    <Code>
> end;
> 
> Be sure to protect the code with a password so that the recipient cannot
> modify this.
> 
> Bob Fulks
> 
> 
>