Re: Store dates in database in different format

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Store dates in database in different format
Дата
Msg-id 20070427141638.8f01d266.wmoran@potentialtech.com
обсуждение исходный текст
Ответ на Store dates in database in different format  (RPK <rpk.general@gmail.com>)
Список pgsql-general
In response to RPK <rpk.general@gmail.com>:
>
> I am using pgsql 8.2.3 on windows XP. I noticed that dates are store in
> 'Date' columns of a table in "yyyy-mm-dd" format whereas I want to store it
> in "dd-MMM-yyyy" format. Can I change this?

They're not stored in that format, they're just displaying in that format.

Here's a good place to start reading:
http://www.postgresql.org/docs/8.2/static/datatype-datetime.html#DATATYPE-DATETIME-OUTPUT

--
Bill Moran
http://www.potentialtech.com

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

Предыдущее
От: RPK
Дата:
Сообщение: Store dates in database in different format
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Store dates in database in different format