Re: timestamp usage?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Heiko Irrgang <irrgang(at)sc-networks(dot)de>
Cc: Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: timestamp usage?
Date: 2001-01-24 20:50:44
Message-ID: Pine.LNX.4.30.0101242150220.1469-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Warren Vanichuk 2001-01-24 20:50:48 Re: scrolling in psql..
Previous Message Stephan Szabo 2001-01-24 20:22:21 Re: Re: backend closing connections while executing...