# BOY()

Syntax:

Then: xx=BOY(date_expr)

Version Ref: 4.5

Description:

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

Examples:

Then: payroll_year_began = BOY(payroll_date)

Returns the 1st day of the year for the payroll_date variable.

Then: current_year_began = BOY()

Returns the 1st day of the current year.