snowflake.snowpark.functions.months_between¶ snowflake.snowpark.functions.months_between(date1: ColumnOrName, date2: ColumnOrName) → Column[source]¶ Returns the number of months between two DATE or TIMESTAMP values. For example, MONTHS_BETWEEN(‘2020-02-01’::DATE, ‘2020-01-01’::DATE) returns 1.0.