Re: Incrementing a date type.

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: DC <danc(at)bspmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Incrementing a date type.
Date: 2001-05-23 13:59:00
Message-ID: 20010523085900.A16870@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, May 18, 2001 at 12:17:47PM -0500,
DC <danc(at)bspmail(dot)com> wrote:
> I have an event that is three days long. In a table I want to be able to
> enter Friday date and have Saturdays and Sundays fill in automatically. It
> also has to check for the month/# of days in...

You can add intervals to timestamps. If you use an interval of 1 day, this will
probably do what you want.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Felipe Zirbes 2001-05-23 14:00:47 RE: Can't find destroydb
Previous Message Justin Clift 2001-05-23 13:33:49 Re: Install with Apache/PHP (Was "Stubborn Multibyte")