BOMONTH
Calculates the date in yyyy-mm-dd format of the first day of the month, a specified number of months before or after the specified date..
Syntax: BOMONTH(
start_date
,
offset_in_months
)
start_date
in yyyy-mm-dd formatoffset_in_months
is the number of months before or after thestart_date
. If the number entered isn't an an integer, it's rounded up or down to the nearest integer.
Example: BOMONTH ( '2023-09-20' , 3)
Output: 2023-12-01
Example: IF ( EQUALS ( BOMONTH ( today ( ) , 1.49 ) , '2023-10-01' ) , 500 , 0 )
Output: If today's date is Sep 19, 2023, the above expression will compute to 500
Last updated
Was this helpful?