SoftadminUtil.Date_YearAndWeekNumber

Type: Scalar function

Returns the year and ISO-week for the choosen date.

Example: 2008-05-26 -> 200822 (then simply use divide 100 or mod 100 for year and week).

Return value: int

The month and ISO week belonging to the datetime.

Parameters

@Date mandatory datetime
The date to get year and ISO week for.