Re: timestamp usage? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: timestamp usage?
Date
Msg-id Pine.LNX.4.30.0101242150220.1469-100000@peter.localdomain
Whole thread Raw
In response to timestamp usage?  (Heiko Irrgang <irrgang@sc-networks.de>)
List pgsql-general
Heiko Irrgang writes:

> I have seen in the documentation that you can get the timestamp
> of tomorrow by entering
> timestamp(date 'Tomorrow')
>
> this is almost what i need... is it possible to get something
> like with the unix date command:
> date --date '1 month' ?

current_date + interval '1 month'

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Anand Raman
Date:
Subject: concatenate 2 numeric columns..
Next
From: Anand Raman
Date:
Subject: scrolling in psql..