weekday
Returns the day of the week from the xs:dateTime value supplied as argument. The function will return value 1 for Monday, value 2 for Tuesday, and so on.

Languages
Built-in, C++, C#, Java.
Parameters
| Name | Type | Description | 
|---|---|---|
| datetime | xs:dateTime | Provides the input value of type xs:dateTime. |