Book Contents

Book Index

Next Topic

Home

CURRENT_TIME

CURRENT_TIME returns a value of type TIME WITH TIME ZONE representing the time of day.

Syntax

CURRENT_TIME [ ( precision ) ]

Semantics

 

precision

(INTEGER) causes the result to be rounded to the specified number of fractional digits in the seconds field.

Notes

Examples

> SELECT CURRENT_TIME;

timetz

--------------------

16:58:58.349569-04

(1 row)