@ismonth

Definition

Is a monthly period

A relative reference in @if statements.

Time period detail is set in Defining, Deleting, and Displaying Time Periods.

Returns

  • True—if the period is in months

  • False—if not

Example

If 2006 is in years and 2007 is in months, this formula:

@if(@ismonth, 1, 2)

returns 2 for 2006, and 1 in monthly periods for 2007.