Returns the day of the week. (1-7)

Declaration

WEEKDAY(datetime) -> month
WEEKDAY(date) -> month

Parameters

datetime (type: datetime)
A datetime value to retrieve the day of the week for.
date (type: date)
A date value to retrieve the day of the week for.

Return Values

month (type: number)
The day of the week. (1-7)

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.