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