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

snowflake.snowpark.functions.current_time

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

Returns the current time for the system.

Example

>>> import datetime
>>> result = session.create_dataframe([1]).select(current_time()).collect()
>>> assert isinstance(result[0]["CURRENT_TIME()"], datetime.time)
Copy