Navigation: Function Index > I
IDIM
(IDIM(arg))
Where arg is a value that has a DATE data type, IDIM returns the number of days within that month.
In the following example, the value of vidim is 31.
SET VAR vidim = (IDIM('03/15/2006'))