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

Re: First Trading day of the week



PureBytes Links

Trading Reference Links

> Does any one have any code segment for determining the first trading
> day of the week? I know that "DayOfWeek(Date) = 1" determines a
> Monday but what if the first trading day of the week is on a
> Tuesday? 

if DayOfWeek(Date) < DayOfWeek(Date[1]) then ...

Gary