Search code examples
postgresqldatepsql

How do I output the time in postgres sql


I know about \echo but that just seems to output the rest of the line literally, i want something like \echo date


Solution

  • So based on the comment

    select current_time
    

    works for me.