Re: Ayuda con fechas

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: "FENALCO - Mauricio Henao" <mhenao(at)fenalcoantioquia(dot)com(dot)co>
Cc: <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Ayuda con fechas
Date: 2005-05-20 20:25:34
Message-ID: m3zmupzltt.fsf@conexa.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

"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.

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Ing. Jhon Carrillo 2005-05-20 20:26:32 Re: Ayuda con fechas
Previous Message Mario Cassanelli 2005-05-20 20:23:20 TRIGGERS: lo prometido es ....