WEEKDAY
Returns the day of the week, from 1 (Monday) to 7 (Sunday).
Without time the function uses the current time. It uses the time zone of the server.
Parameters and results
timeTIME: the time (optional, default now)- result
resultINTEGER: the day of the week, 1 to 7
Example
c0de
CALL c0de/time/WEEKDAY
PARAMETER time t ;
RESULT result weekday