8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Document CURRENT_TIME and CURRENT_TIMESTAMP changes.

This commit is contained in:
Adriano dos Santos Fernandes 2018-06-21 12:17:30 -03:00
parent fda3d6cb55
commit f24562f15b

View File

@ -221,7 +221,11 @@ select localtimestamp
from rdb$database;
```
## TODO: CURRENT_TIME and CURRENT_TIMESTAMP changes
# Changes in `CURRENT_TIME` and `CURRENT_TIMESTAMP`
In version 4.0, `CURRENT_TIME` and `CURRENT_TIMESTAMP` are changed to return `TIME WITH TIME ZONE` and `TIMESTAMP WITH TIME ZONE`, different than previous versions, that returned the types without time zone.
To make transition easier, `LOCALTIME` and `LOCALTIMESTAMP` was added in v3.0.4, so applications can be adjusted in v3 and migrated to v4 without funcional changes.
## Virtual table `RDB$TIME_ZONES`