January 2002
Intermediate to advanced
640 pages
16h 39m
English
Returns the current time.
CURRENT_TIME
This function does not accept any parameters.
timeThe current time. The return data type is time.
Use the CURRENT_TIME function to retrieve the current system-recorded
time in an object of data type TIME.
The following example retrieves the current time:
testdb=# SELECT CURRENT_TIME AS the_time;
the_time
----------
19:44:35
(1 row)