ISORawWeekNumForDate

STD.Date.ISORawWeekNumForDate( date )

dateA date value in the Date_t format.
Return:ISORawWeekNumForDate returns an INTEGER value from 1 to 53 representing the raw ISO week number for the date.

The ISORawWeekNumForDate function returns the raw ISO-8601 week number (1–53) for the given date.

Example:

IMPORT STD;
D := 20200615;
RawWeek := STD.Date.ISORawWeekNumForDate(D);
      // RawWeek is the ISO week number for June 15, 2020 which is 25
OUTPUT(RawWeek);