SQL Notebook (logo)

EOMONTH Function

Returns the last day of the month containing the specified date.

Syntax

EOMONTH(date, [months-to-add])

Arguments

Return Value

A date string formatted like "2016-02-29".

Examples