15.3.6 ymintervaltonum(value1, value2)

Function converts interval value(c1) into a numeric value. You must provide the unit for the output numeric value as the second argument to this function. Allowed values for the unit are: YEAR,MONTH.

Value 1 can be one of the following types: intervalym.

Value 2 can be one of the following types: text.

Returned value type will be double.

Function Result

ymintervaltonum(94yy 5mm,"MONTH')

1133.0