Date question - Mailing list pgsql-general

From Boulat Khakimov
Subject Date question
Date
Msg-id 3AA5385F.F308159D@inet-interactif.com
Whole thread Raw
Responses Re: [SQL] Date question
RE: [SQL] Date question
Re: Date question
Re: [SQL] Date question
List pgsql-general
Hi,

Im a little bit stuck here.

Does anyone know how to get date in format 'YYYY-MM-DD' of a date one
year from now.
So for example today is '2001-03-06' I need to get date 12 months from
now
which will be '2002-03-06' in todays case...

In mysql I used  DATE_ADD(CURDATE(), INTERVAL 12 MONTH) , but that
doesnt work in PG.


Regards,
Boulat Khakimov


--
Nothing Like the Sun

pgsql-general by date:

Previous
From: John Burski
Date:
Subject: Re: SQL article
Next
From: Mike Mascari
Date:
Subject: RE: SQL article