snowflake.snowpark.functions.localtimestamp

snowflake.snowpark.functions.localtimestamp(fract_sec_precision: int = 9) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.29.0/snowpark-python/src/snowflake/snowpark/functions.py#L11036-L11046)

Returns the current timestamp at the start of the query with the specified fractional second precision.

Example:

>>> df = session.create_dataframe([1], schema=["a"])
>>> df.select(localtimestamp(3)).collect()  
Copy
Language: English