pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: angelo.rigo@globo.com
To: pgsql-php@postgresql.org
Subject: Re: timezone
Date: Thu, 1 Aug 2002 11:14:48 -0700
Message-ID: <200208011114.48913.josh@agliodbs.com> (raw)
In-Reply-To: <3D3EEC5F00025AE6@riosf05.globoi.com>
References: <3D3EEC5F00025AE6@riosf05.globoi.com>

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


-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (6+ messages)  latest in thread

Message-ID: <200208011114.48913.josh@agliodbs.com>
Permalink:  ../200208011114.48913.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200208011114.48913.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: josh@agliodbs.com, angelo.rigo@globo.com
  Subject: Re: timezone
  In-Reply-To: <200208011114.48913.josh@agliodbs.com>
  References: <3D3EEC5F00025AE6@riosf05.globoi.com> <200208011114.48913.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox