Reference Guide > TDV Support for SQL Functions > TDV-Supported Date Functions > CURRENT_TIME
 
CURRENT_TIME
The CURRENT_TIME function returns the current time from the system clock of the machine where the database is running.
Syntax
CURRENT_TIME [p]
Remarks
CURRENT_TIME has an optional precision argument (p), an unsigned integer that specifies the number of digits of fractional seconds.
The output is a TIME with the format HH:MM:SS[.fff].
Valid values of p are 0 (no fractional seconds) to 3 (milliseconds). Values greater than 3 return 3 digits. For example, CURRENT_TIME(3) and CURRENT_TIME(8) both return a value like 19:06:27.583.