Re: Formating Date Data Type?

Поиск
Список
Период
Сортировка
От Phillip Smith
Тема Re: Formating Date Data Type?
Дата
Msg-id 1174451357.5345.76.camel@it-laptop
обсуждение исходный текст
Ответ на Formating Date Data Type?  ("Ashish Karalkar" <ashish.karalkar@info-spectrum.com>)
Список pgsql-novice
Is the column a string data type or a date data type?

Assuming it's a date type, look at the to_char() function in the documentation.

Cheers,
~p

On Tue, 2007-03-20 at 10:38 +0530, Ashish Karalkar wrote:
I am storing date as '2007-04-15' in data base as YYYY-MM-DD
 
Now I want  to format this to 15-Apr-2007.
Вложения

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

Предыдущее
От: "Ashish Karalkar"
Дата:
Сообщение: Formating Date Data Type?
Следующее
От: Cesar Alvarez
Дата:
Сообщение: Re: Formating Date Data Type?