CURRENT_TIME

CURRENT_TIME returns the current time.

This function returns the same value if it is executed more than once in a single statement, which means that the value is fixed, even if there is a long delay between fetching rows in a cursor.

Splice Machine displays TIME and TIMESTAMP values using the current time zone for the server to which you are connected. DATE values, however, are stored as fixed strings, and are not affected by the time zone of the server to which you are connected.

Syntax

CURRENT_TIME

or, alternately

CURRENT TIME

Results

A time value.

Examples

splice> VALUES CURRENT_TIME;
1
--------
11:02:57

1 row selected

See Also