Returns the number of weeks since the beginning of the year. It can use the parameter "language='de'" in the call to the function to get the week according to the norm (DIN 1355-1/ISO 8601). In this norm, the week 1 of the year corresponds to the first week of thew year with 4 or more days.
<var /> ?
|Alanguage||String||Language used to obtain the regional configuration.|
|Acountry||String||Field used with the language to obtain the regional configuration.|
|Evar||Timestamp||Object to add in the array. It may not indicate any object or put several objects one followed by another, they will be added in an orderly fashion in the array.|
|Integer||Returns the number of weeks since the beginning of the year.|
Returns the weeks since the beginning of the year.
<xsql-script name='date_weekOfYear_sample1'> <body> <set name='var'> <date.weekOfYear> <date format='dd-MM-yyyy'>23-01-2005</date> </date.weekOfYear> </set> <println><var /></println> </body> </xsql-script>