# EOQ()

Syntax:

Then: xx=EOQ(date_expr)

Version Ref: 4.5

Description:

Returns the end of a quarter for any date expression. If the date expression is left blank, returns the end of the current quarter.

Examples:

Then: payroll_qtr_ends = EOQ(payroll_date)

Returns the last day of the quarter for the payroll_date variable.

Then: current_quarter_ends = EOQ()

Returns the last day of the current quarter.