| От | Netto |
|---|---|
| Тема | Is it not datestyle that determines date format output? |
| Дата | |
| Msg-id | bra9u9$aci$1@news.hub.org обсуждение исходный текст |
| Ответы |
Re: Is it not datestyle that determines date format output?
Re: Is it not datestyle that determines date format output? |
| Список | pgsql-general |
The way PostgreSQL deals with the date format is confusing me... I need PostgreSQL to return dates from selects at this format: "dd/mm/yyyy", but it insists in returning it as "yyyy-mm-dd". I say "insists" cause I had already set datestyle to "European" (in postgresql.conf) which represents the format I want... I checked it executing: "SHOW DATESTYLE" and I got: DateStyle ----------- ISO with European conventions When inserting dates, PostgreSQL understands very well my date format like "dd/mm/yyyy", but it is also important to get the date like that. I think it's possible, but I had tried all the tricks I knew or I could retrieve from manual... Any ideas? Thank you all. Netto
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера