snowflake.snowpark.functions.localtimestamp¶

snowflake.snowpark.functions.localtimestamp(fract_sec_precision: int = 9) → Column[source]¶

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