# EOM()

Syntax:

Then: xx=EOM(date_expr)

Version Ref: 4.5

Description:

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

Examples:

Then: payroll_month_ends = EOM(payroll_date)

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

Then: current_month_ends = EOM()

Returns the last day of the current month.