Skip to main content
Subtracts the specified interval from the current timestamp, and returns it as a TIMESTAMPTZ value. For more information, see Arithmetic with intervals.

Syntax

Parameters

Return Type

TIMESTAMPTZ

Example

The following example assumes that the current Unix timestamp is 2023-03-03 14:42:31.123456 UTC.