Jump to: navigation, search

PostgreSQL CURRENT TIMESTAMP

From w3cyberlearnings

Contents

Postgresql current_timestamp

This function returns the current date and time with time zone.

Syntax current_timestamp

current_timestamp;

Example 1

postgres=# SELECT current_timestamp;
              now              
-------------------------------
 2012-06-16 13:59:47.067008-04
(1 row)

Example 2

Related Links



Navigation
Web
SQL
MISC
References