AGO
Reference material for AGO function
Subtracts the specified interval from the current timestamp, and returns it as a TIMESTAMPTZ
value.
For more information, see Arithmetic with intervals.
Syntax
Parameters
Parameter | Description |
---|---|
<interval> | An interval literal representing substracted a duration. |
Return Type
TIMESTAMPTZ
Example
The following example assumes that the current Unix timestamp is 2023-03-03 14:42:31.123456 UTC
.