Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id E4C4D475DB2 for ; Thu, 1 Aug 2002 14:14:05 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1597478; Thu, 01 Aug 2002 11:14:04 -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, pgsql-php@postgresql.org Subject: Re: timezone Date: Thu, 1 Aug 2002 11:14:48 -0700 X-Mailer: KMail [version 1.4] References: <3D3EEC5F00025AE6@riosf05.globoi.com> In-Reply-To: <3D3EEC5F00025AE6@riosf05.globoi.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208011114.48913.josh@agliodbs.com> X-Archive-Number: 200208/2 X-Sequence-Number: 1347 Angelo, > how can i change the display format o a timezone field? > i want it to be brazilian format or latin american. Use the "to_char" function to format the time zone, for example: SELECT to_char(some_date, 'DD.MM.YYYY'); some_date ----------------- 16.04.2002 --=20 -Josh Berkus Aglio Database Solutions San Francisco