snowflake.snowpark.functions.timestamp_from_parts¶
- snowflake.snowpark.functions.timestamp_from_parts(date_expr: ColumnOrName, time_expr: ColumnOrName, _emit_ast: bool = True) Column[source]¶
- snowflake.snowpark.functions.timestamp_from_parts(year: Union[ColumnOrName, int], month: Union[ColumnOrName, int], day: Union[ColumnOrName, int], hour: Union[ColumnOrName, int], minute: Union[ColumnOrName, int], second: Union[ColumnOrName, int], nanosecond: Optional[Union[ColumnOrName, int]] = None, timezone: Optional[ColumnOrLiteralStr] = None, _emit_ast: bool = True) 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: