>>-WEEKDAY--+-----------+-------------------------------------->< '-(-+---+-)-' '-x-'
If x is missing and today's date is not available from the system, a result of zero is returned.
x must have computational type and will be converted to FIXED BINARY(31,0), if necessary.
For an example of WEEKDAY, see SECS.