DATE
|
+
|
TIME
|
TIMESTAMP
|
DATE
|
+
|
TIME WITH TIME ZONE
|
TIMESTAMP WITH TIME ZONE
|
DATE
|
+
|
Numeric value n |
DATE increased by n whole days.Fractional values are rounded to the nearest integer
|
TIME
|
+
|
DATE
|
TIMESTAMP
|
TIME WITH TIME ZONE
|
+
|
DATE
|
TIMESTAMP WITH TIME ZONE
|
TIME
|
+
|
Numeric value n |
TIME increased by n seconds.The fractional part is taken into account
|
TIME WITH TIME ZONE
|
+
|
Numeric value n |
TIME WITH TIME ZONE increased by n seconds.The fractional part is taken into account
|
TIMESTAMP
|
+
|
Numeric value n |
TIMESTAMP , where the date will advance by the number of days and part of a day represented by number n — so “+ 2.75 ” will push the date forward by 2 days and 18 hours
|
TIMESTAMP WITH TIME ZONE
|
+
|
Numeric value n |
TIMESTAMP WITH TIME ZONE , where the date will advance by the number of days and part of a day represented by number n — so “+ 2.75 ” will push the date forward by 2 days and 18 hours
|
DATE
|
-
|
DATE
|
Number of days elapsed, within the range DECIMAL(9, 0) |
DATE
|
-
|
Numeric value n |
DATE reduced by n whole days.Fractional values are rounded to the nearest integer
|
TIME
|
-
|
TIME
|
Number of seconds elapsed, within the range DECIMAL(9, 4) |
TIME
|
-
|
TIME WITH TIME ZONE
|
The without time zone value is converted to WITH TIME ZONE in the current session time zone.Number of seconds elapsed between the UTC values, within the range DECIMAL(9, 4) .Also applies when swapping types. |
TIME WITH TIME ZONE
|
-
|
TIME WITH TIME ZONE
|
Number of seconds elapsed between the UTC values, within the range DECIMAL(9, 4) |
TIME
|
-
|
Numeric value n |
TIME reduced by n seconds.The fractional part is taken into account
|
TIMESTAMP
|
-
|
TIMESTAMP
|
Number of days and part-day, within the range DECIMAL(18, 9) |
TIMESTAMP
|
-
|
TIMESTAMP WITH TIME ZONE
|
The without time zone value is converted to WITH TIME ZONE in the current session time zone.Number of days and part-day between UTC values, within the range DECIMAL(18, 9) .Also applies when swapping types. |
TIMESTAMP WITH TIME ZONE
|
-
|
TIMESTAMP WITH TIME ZONE
|
Number of days and part-day between UTC values, within the range DECIMAL(18, 9) |
TIMESTAMP
|
-
|
Numeric value n |
TIMESTAMP where the date will decrease by the number of days and part of a day represented by number n — so “- 2.25 ” will decrease the date by 2 days and 6 hours
|