LOCALTIME
Current server time in the session time zone, without time zone information
TIME WITHOUT TIME ZONE
LOCALTIME [ (<precision>) ] <precision> ::= 0 | 1 | 2 | 3
The optional precision argument is not supported in ESQL.
Parameter | Description |
---|---|
precision |
Precision.The default value is 0.Not supported in ESQL |
LOCALTIME
returns the current server time in the session time zone.The default is 0 decimals, i.e. seconds precision.
Note
|
|
select localtime from rdb$database
-- returns e.g. 14:20:19.0000
select localtime(2) from rdb$database
-- returns e.g. 14:20:23.1200