You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.current_date

snowflake.snowpark.functions.current_date() Column[source]

Returns the current date for the system.

Example

>>> import datetime
>>> result = session.create_dataframe([1]).select(current_date()).collect()
>>> assert isinstance(result[0]["CURRENT_DATE()"], datetime.date)
Copy