weeknumber
Returns the week number within the year from the xs:dateTime value supplied as argument. The function will return value 1 for the first week of the year, value 2 for the second week, and so on.

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