Book Contents

Book Index

Next Topic

Home

LOCALTIME

LOCALTIME returns a value of type TIME representing the time of day.

Syntax

LOCALTIME [ ( precision ) ]

Semantics

 

precision

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

Notes

Examples

> SELECT LOCALTIME;

time

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

16:58:58.349569

(1 row)