ISWKEND(<expD>)
Evaluates whether a date is on a weekend.
Returns <expL> true if date is a Saturday or Sunday, otherwise false.

IF .NOT. ISWKEND( DATE() )
m_date = DATE()
ELSE
* Set date to next Monday
m_date = EOW( DATE() ) + 1
ENDIF


Placed in the Public Domain by Tom Rettig Assoc.