This function of the CAA_DTUtil.library determines the day of the week of a specified date.
Input:
dateDate
DATE
Date
Output:
eWeekday
RTCLK.WEEKDAY
Day of the week (0..6) 0=Sunday