make_time
Build a time from an hour, minute and seconds.
Try an expression
In Formula, enter the expression and set Output type to TIME.
Expression
make_time(13, 34, 27.123456)Result
13:34:27.123456To use your own data, replace the example values with column names. Keep format strings and other options as written.
Arguments and types
make_time(hour, minute, seconds)- hour
- Number
- minute
- Number
- seconds
- Number
Supported signatures (1)
make_time(hour: BIGINT, minute: BIGINT, seconds: DOUBLE) → TIMEThe result type can depend on the input types. See DuckDB for the full argument rules.
Things to know
If the first argument is missing, the result is NULL.
Function metadata from DuckDB, used under the MIT license.