Open topic with navigation
LAST_DAY function returns the last day of the month based on a date value.
LAST_DAY( date )
SELECT LAST_DAY(TO_DATE('2020/02/03', 'yyyy/mm/dd'))
Returns:
2020-02-29
Copyright © 2002-2025. Cloud Software Group, Inc. All Rights Reserved.