TIMEOFDAY

This function is used to get current date and time (like clock_timestamp, but as a text string).

Syntax

TIMEOFDAY()

Example

SELECT TIMEOFDAY()