Re: Time Formats

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Time Formats
Дата
Msg-id 20010112144528.A23424@wolff.to
обсуждение исходный текст
Ответ на Time Formats  (Jeffery L Post <postjeff@uwm.edu>)
Ответы Re: Time Formats
Список pgsql-general
On Fri, Jan 12, 2001 at 02:02:28PM -0600,
  Jeffery L Post <postjeff@uwm.edu> wrote:
> Is there any way to have a time datatype returned in various formats?
>
> ex. 1:30 PM
>
> Maybe by setting a session variable?

You can use to_char in a query to convert a date and/or time into a character
string in the format you want.

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

Предыдущее
От: Jeffery L Post
Дата:
Сообщение: Time Formats
Следующее
От: "Martin A. Marques"
Дата:
Сообщение: Re: still no log