Re: timezone - Mailing list pgsql-php

From Josh Berkus
Subject Re: timezone
Date
Msg-id 200208011114.48913.josh@agliodbs.com
Whole thread Raw
In response to timezone  (angelo.rigo@globo.com)
List 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


pgsql-php by date:

Previous
From: angelo.rigo@globo.com
Date:
Subject: timezone
Next
From: Josh Berkus
Date:
Subject: Re: timezone