Entering content frame

DAYOFWEEK/WEEKOFYEAR/DAYOFMONTH/DAYOFYEAR(t) 

DAYOFWEEK(t)/WEEKOFYEAR(t)/DAYOFMONTH(t)/DAYOFYEAR(t) are date functions that calculate the following:

t: date_or_timestamp_expression

 

Result of the function

DAYOFWEEK(t)

Numeric value between 1 and 7 (weekday)

The first day is Monday, the second Tuesday, etc.

WEEKOFYEAR(t)

Numeric value between 1 and 53 (calendar week of the specified day)

DAYOFMONTH(t)

Numeric value between 1 and 31 (day of the month of the specified day)

DAYOFYEAR(t)

Numeric value between 1 and 366 (day of the year of the specified day)

t is NULL value

NULL value

Leaving content frame