SoftadminUtil.Date_YearAndWeekNumber

 Show all Hide all

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).

Type: Scalar function
Area of use: General use

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.