NoWeekEnds
Previous  Top  Next

NoWkEnds method returns a date(LONG) that is corrected so that it does not fall on Weekends. It returns a Friday if it falls on Saturday, and returns a Monday if it falls on Sunday.

noweekends

This generates the following code in the embed:

BHT:DateRet = BSTCalH.NoWkEnds(BHT:Date)