New operators for retrieving current time, date, and timestamp
The CURRENT_DATE, CURRENT_TIME, and CURRENT_TIMESTAMP functional
operators return the date and time values based on the moment of
execution of an SQL statement using the server's clock and time
zone. It is no longer necessary to cast TODAY or NOW as DATE to
obtain the current date, time, or timestamp.
For a single SQL statement, the same value is used for each
evaluation of CURRENT_DATE, CURRENT_TIME, and CURRENT_TIMESTAMP
within that statement. This means that if multiple rows are
updated, as in the following statement, each data row will
have the same value in the aTime column.
UPDATE aTable SET aTime = CURRENT_TIME;
Similarly, if row buffering occurs in a fetch via the remote
protocol, then the CURRENT_TIME is based on the time of the
OPEN of the cursor from the database engine, and not the time
of delivery to the client.