function year!

Jérome Knöbl <jknobl@mandanet.ch>

From: Jerome Knobl <jknobl@mandanet.ch>
To: pgsql-sql@postgresql.org
Date: 1998-08-17T08:59:38Z
Lists: pgsql-sql
Hello,

I have a timestamp value, and I'm tring to get only the year, the month
or the day.
I'm using the function now() to put some value inside.

I tried the function year(..) (select year(thedate) from mytable;)

but that function are not define! I'm looking for a simple way to get my
informations?

Thank.

Jérôme Knöbl, MandaNEt, Switzerland