snowflake.snowpark.functions.last_day¶
- snowflake.snowpark.functions.last_day(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L2995-L3011)¶
Returns the last day of the specified date part for a date or timestamp. Commonly used to return the last day of the month for a date or timestamp.
Example: