LAST_DAY
Returns the last day of the month for the specified date or timestamp.
Syntax
LAST_DAY(date_timestamp_expression string) → date
date_timestamp_expression: A
DATE
orTIMESTAMP
expression.
Examples
LAST_DAY example
LAST_DAY example
LAST_DAY example
Usage Notes
The return value is always a date regardless of whether date_timestamp_expression
is a date or a timestamp.
Last updated