snowflake.snowpark.functions.current_timestamp

snowflake.snowpark.functions.current_timestamp() Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L3990-L4000)

Returns the current timestamp for the system.

Example

>>> import datetime
>>> result = session.create_dataframe([1]).select(current_timestamp()).collect()
>>> assert isinstance(result[0]["CURRENT_TIMESTAMP()"], datetime.datetime)
Copy
Language: English