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