Jump to: navigation, search

PostgreSQL LOCALTIME

From w3cyberlearnings

Contents

Postgresql localtime

Returns the current time of a day.

Syntax localtime

localtime;

Example 1

postgres=# SELECT localtime;
      time       
-----------------
 23:30:06.856193
(1 row)

postgres=# SELECT localtime;
      time       
-----------------
 23:30:13.318582
(1 row)

postgres=# SELECT localtime;
      time       
-----------------
 23:35:23.360642
(1 row)

Example 2

Related Links



Navigation
Web
SQL
MISC
References