"FENALCO - Mauricio Henao" <mhenao(at)fenalcoantioquia(dot)com(dot)co> writes:
> select month(current_date)
test=# select date_part('month', current_date);
date_part
-----------
5
(1 fila)
Deberías darte una vuelta por el manual en:
http://www.postgresql.org/docs/8.0/static/functions.html
http://www.postgresql.org/docs/8.0/static/functions-datetime.html
Saludos,
Manuel.