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

TRADING day of MONTH code help



PureBytes Links

Trading Reference Links

Can someone explain why this function does not work in TS2000i please?

{TRADING DAY OF THE MONTH
}
Vars: Mo(0), TradeDay(0);

Mo = Month(Date);
TradeDay = iff(Mo <> Mo[1], 1, TradeDay + 1);
Thanks!
Dr Greg Hunt