Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 0B245474E50 for ; Thu, 1 Aug 2002 14:44:09 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1597541; Thu, 01 Aug 2002 11:44:08 -0700 Content-Type: text/plain; charset="iso-8859-15" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: angelo.rigo@globo.com Subject: Re: timezone Date: Thu, 1 Aug 2002 11:44:52 -0700 X-Mailer: KMail [version 1.4] References: <3D3EEC5F00025D6E@riosf05.globoi.com> In-Reply-To: <3D3EEC5F00025D6E@riosf05.globoi.com> Cc: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208011144.52789.josh@agliodbs.com> X-Archive-Number: 200208/3 X-Sequence-Number: 1348 Angelo, > So simple! > thank?s Josh >=20 > in my case i do : > -- SELECT nome, data FROM aprovados order by nome asc -- > -- printf ("%s%s > ",$myrow[nome], $myrow[data]); -- >=20 > the select goes like this? >=20 > -- SELECT nome, data to char (??some_date??, 'DD.MM.YYYY');FROM aprovados > order by nome asc -- that would be: SELECT nome, to_char(data, 'DD.MM.YYYY') AS data=20 FROM aprovados ORDER BY nome ASC; --=20 -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco