snowflake.snowpark.functions.dateadd¶
- snowflake.snowpark.functions.dateadd(part: str, col1: Union[Column, str], col2: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L4305-L4346)¶
Adds the specified value for the specified date or time part to date or time expr.
Example:
- Parameters:
part – The time part to use for the addition
col1 – The first timestamp column or addend in the dateadd
col2 – The second timestamp column or the addend in the dateadd