DayOfWeek (FUN)

FUNCTION DayOfWeek : WEEKDAY

Calculates the appropriate value of the WEEKDAY enum that matches the parameter datDate.

InOut:

Scope

Name

Type

Initial

Return

DayOfWeek

WEEKDAY

Input

datDate

DATE

Output

eErrorID

ERROR

ERROR.NO_ERROR