snowflake.snowpark.functions.date_part¶
- snowflake.snowpark.functions.date_part(part: str, e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L5819-L5844)¶
Extracts the specified date or time part from a date, time, or timestamp. See DATE_PART for details.
- Parameters:
part – The time part to use for the addition.
e – The column expression of a date, time, or timestamp.
Example: