dayOfWeek#

swordfish.function.dayOfWeek()#

Return which day of the week is X.

参数:

X (Constant) -- A scalar/vector of type DATE, DATETIME, DATEHOUR, TIMESTAMP or NANOTIMESTAMP.

返回:

An integer from 0 to 6, where 0 means Monday, .., 6 means Sunday.

返回类型:

Constant