DAY_OF_WEEK
Returns the day of the week (1=Sun, 2=Mon, .. 6=Friday, 7=Saturday)
Example Usage
DAY_OF_WEEK("2022-03-13") -> 1 // Sun
DAY_OF_WEEK("2022-03-16") -> 4 // Wed
DAY_OF_WEEK("2022-03-19") -> 7 // Sat
Overview
Function signature
DAY_OF_WEEK(paydate)
Category
Date
Return data type
int
Arguments
Name | DataType | List Options | Description |
---|---|---|---|
paydate | date | The date for which the day of week is desired |