weekday( date, return_type )
Returns the day of the week of the specified date.
Keyword | Type | Description |
---|---|---|
|
Date |
The date that the day of the week will be calculated from |
|
Integer |
Controls how the days of the week are numbered with |
Integer
The default value of return_type is 1
.
weekday(date(2011,12,13))
returns 3