MAKETIME Function

Returns the time as hours, minutes, and seconds.

Category: Date and Time
Returned data type: TIME

Syntax

MAKETIME(h, m, s)

Arguments

h

specifies the hour.

m

specifies the minute.

s

specifies the second.

Example

The following statement illustrates the MAKETIME function:
Statements
Results
select maketime(15,39,10);
15:39:10
select maketime(h, mn, s) from adate;
15:39:10
Last updated: February 23, 2017