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

Re: Day of year function



PureBytes Links

Trading Reference Links

I have not tried this myself but it should work:

Input: iDate(numeric);
DOY = DateToJulian(date) -
DateToJulian(Year(date)*10000+101) + 1;

This of course written in a function called DOY.

H

--- Ralph Carlberg <carlberg@xxxxxxx> wrote:
> I need an Easy Language day of year function. 
> Before I figure out how to
> write my own, I thought I would ask if anyone had
> one or knew of a source.
> 
> Ralph Carlberg
> NeuralNet Trading, Inc.
> http://www.neuralnettrading.com
> carlberg@xxxxxxx
> 425-885-0726
> 425-885-0350 (Fax)
> 
>