snowflake.snowpark.functions.timestamp_from_parts¶
- snowflake.snowpark.functions.timestamp_from_parts(date_expr: ColumnOrName, time_expr: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L3198-L3227)¶
- snowflake.snowpark.functions.timestamp_from_parts(year: ColumnOrName | int, month: ColumnOrName | int, day: ColumnOrName | int, hour: ColumnOrName | int, minute: ColumnOrName | int, second: ColumnOrName | int, nanosecond: ColumnOrName | int | None = None, timezone: ColumnOrLiteralStr | None = None) Column
Creates a timestamp from individual numeric components. If no time zone is in effect, the function can be used to create a timestamp from a date expression and a time expression.
Example 1:
Example 2: