CURRENT_TIMESTAMP
Current server date and time in the session time zone, with time zone information
TIMESTAMP WITH TIME ZONE
Caution
|
Data type changed in Firebird 4.0 from |
CURRENT_TIMESTAMP [ (<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 |
The default is 3 decimals, i.e. milliseconds precision.
Note
|
|
Warning
|
CURRENT_TIMESTAMP and Firebird Time Zone SupportFirebird 4.0 added support for time zones.As part of this support, an incompatibility with the Since Firebird 4.0, In Firebird 5.0, |
select current_timestamp from rdb$database
-- returns e.g. 2008-08-13 14:20:19.6170
select current_timestamp(2) from rdb$database
-- returns e.g. 2008-08-13 14:20:23.1200