Date addition/subtraction - Mailing list pgsql-general

From Craig Bryden
Subject Date addition/subtraction
Date
Msg-id 000f01c55006$10816af0$0200a8c0@amd2800
Whole thread Raw
Responses Re: Date addition/subtraction
Re: Date addition/subtraction
Re: Date addition/subtraction
Re: Date addition/subtraction
List pgsql-general
Hi

How in postgres can I do date/time subtraction or addition.
e.g. If I want to get today's date - 30 days? or current_timestamp - 1 hour?

Thanks
Craig


pgsql-general by date:

Previous
From: Robert Fitzpatrick
Date:
Subject: Sorting by constant values
Next
From: Franco Bruno Borghesi
Date:
Subject: Re: Date addition/subtraction