IWOY
(IWOY(
arg
))
Where
arg
is a value that has a DATE data type, IWOY returns the number week of the year.
In the following example, the value of
viwoy
is
11
.
SET VAR viwoy = (IWOY('03/15/2006'))