INT %WeekDay( TIME in Arg, TEXT in timeZone := %GetCurrentTimeZone() )
The following values are assigned to the days of the week:
%WeekDay(SysTime) ; the result is the current weekday of the system time
Implemented functionsFunction arguments - types