snowflake.snowpark.functions.months_between¶
- snowflake.snowpark.functions.months_between(date1: Union[Column, str], date2: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L3175-L3191)¶
Returns the number of months between two DATE or TIMESTAMP values.
Example: