snowflake.snowpark.functions.systimestamp

snowflake.snowpark.functions.systimestamp() Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.44.0/src/snowflake/snowpark/_functions/scalar_functions.py#L355-L370)

Returns the current timestamp for the system.

Returns:

A Column with the current system timestamp.

Example:

>>> df = session.create_dataframe([1], schema=["a"])
>>> result = df.select(systimestamp()).collect()
>>> import datetime
>>> assert isinstance(result[0]["SYSTIMESTAMP()"], datetime.datetime)
Copy
Language: English