DATE2DWY allows us to extract the sections of a date (Day of the week, Week of the year, and Year) from a Date field in exactly the same fashion as DATE2DMY. The ExtractionChoice parameter allows us to choose which value (Day, Week, or Year) will be assigned to IntegerVariable, as shown in the following table: