Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3JDscu10231 for ; Thu, 19 Apr 2001 09:54:38 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from iota.lncc.br (iota.lncc.br [146.134.8.114]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3JD6ju96937 for ; Thu, 19 Apr 2001 09:06:46 -0400 (EDT) (envelope-from sobral@lncc.br) Received: from sealine.lncc.br (sealine.lncc.br [146.134.8.206]) by iota.lncc.br (8.10.1/8.10.1) with ESMTP id f3JCp4Q28900 for ; Thu, 19 Apr 2001 09:51:04 -0300 Received: (from sobral@localhost) by sealine.lncc.br (8.10.1/8.10.1) id f3JD4go15378 for pgsql-admin@postgresql.org; Thu, 19 Apr 2001 10:04:42 -0300 Date: Thu, 19 Apr 2001 10:04:42 -0300 From: Fabio Alberto Sobral Message-Id: <200104191304.f3JD4go15378@sealine.lncc.br> To: pgsql-admin@postgresql.org Subject: Help with postgres functions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-MD5: RB99ydj5RJGHtbW1mS5LkA== X-Archive-Number: 200104/69 X-Sequence-Number: 1206 Dear Sirs, I have a timestamp atribute in my table and I want to get only the date of this atribute. How can I do this? Does the extract or date_part functions resolve my problem? Regards, Fabio Sobral.