Jump to: navigation, search

PostgreSQL STATEMENT TIMESTAMP

From w3cyberlearnings

Contents

Postgresql statement_timestamp

This function returns the current date and time with time zone(more specifically, the time of receipt of the latest command message from the client).

Syntax statement_timestamp

statement_timestamp();

Example 1

postgres=# SELECT statement_timestamp();
      statement_timestamp      
-------------------------------
 2012-06-17 00:41:31.058876-04
(1 row)

Example 2

Related Links



Navigation
Web
SQL
MISC
References