Re: time

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: time
Дата
Msg-id 20051110213009.GA61211@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: time  ("Tadej Kanizar" <Tadej.Kanizar@sagit-server.com>)
Список pgsql-sql
On Thu, Nov 10, 2005 at 08:29:07PM +0100, Tadej Kanizar wrote:
> I have a table with a column of type TIMESTAMP.
> In output, I need to format it.. what's the best way to do it?
> So, for instance, how could I format it so that it would output as YY-MM-DD
> HH:MM?

See to_char() in the "Data Type Formatting Functions" section
of the "Functions and Operators" chapter in the documentation.

http://www.postgresql.org/docs/8.0/interactive/functions-formatting.html

-- 
Michael Fuhr


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Tadej Kanizar"
Дата:
Сообщение: Re: time
Следующее
От: "Joel Fradkin"
Дата:
Сообщение: High level discussion for design of using ACL to retrieve Data