Re: timezone

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: angelo(dot)rigo(at)globo(dot)com, pgsql-php(at)postgresql(dot)org
Subject: Re: timezone
Date: 2002-08-01 18:14:48
Message-ID: 200208011114.48913.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

  • timezone at 2002-08-01 18:11:57 from angelo.rigo

Browse pgsql-php by date

  From Date Subject
Next Message Josh Berkus 2002-08-01 18:44:52 Re: timezone
Previous Message angelo.rigo 2002-08-01 18:11:57 timezone