TIME_FROM_PARTS

functionsupportedCore SQL functions

docs.snowflake.com ↗

Date & time functions

Creates a time from individual numeric components.

Syntax

supportedpartialnot supportednot scored

TIME_FROM_PARTS( <hour>, <minute>, <second> [, <nanoseconds>] )

Parameters

NameRequiredDescription
hourrequiredAn integer expression to use as an hour for building a time, usually in the 0-23 range.
minuterequiredAn integer expression to use as a minute for building a time, usually in the 0-59 range.
secondrequiredAn integer expression to use as a second for building a time, usually in the 0-59 range.
nanosecondsoptionalA 9-digit integer expression to use as a nanosecond for building a time.

Usage notes