period_months

Months component of a period

Extracts the months field of a Period value.

Parameters

Returns

The months field.

Examples

period_months(months(3))