Re: Function error

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Sugandha Shah" <Sugandhas(at)cybage(dot)com>, "Janning Vygen" <vygen(at)gmx(dot)de>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Function error
Date: 2002-08-13 07:31:50
Message-ID: GNELIHDDFBOCMGBFGEFOAEKLCDAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Hi ,
>
> Thanx a lot it worked .
>
> Is there any equivalent of dateadd function in postgres ?

I highly recommend you actually read the Postgres manual's entries on date
and time manipulation.

You can just add intervals to dates:

SELECT datefield + INTERVAL '1 month';

Chris

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alexander M. Pravking 2002-08-13 07:37:13 Re: Conversion
Previous Message Sugandha Shah 2002-08-13 07:28:41 Re: Function error