Syntax:
Then: xx=BOM(date_expr)
Version Ref: 4.5
Description:
Returns the beginning of a month for any date expression. If the date expression is left blank, returns the beginning of the current month.
date_expr means that the field has to be of a "date" edit type. It cannot be uncast.
Examples:
Then: payroll_month_began = BOM(payroll_date)
Returns the 1st day of the month for the payroll_date variable.
Then: current_payroll_began = BOM()
Returns the 1st day of the current month.