| От | Alvaro Herrera |
|---|---|
| Тема | Re: to get DD-MM-YYYY format of data |
| Дата | |
| Msg-id | 20060822132705.GL14368@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | to get DD-MM-YYYY format of data ("Penchalaiah P." <penchalaiahp@infics.com>) |
| Список | pgsql-sql |
Penchalaiah P. wrote: > I am using date is data type to one of the field in my table....but when > ever I am passing values to that field it is taking yyy-mm-dd format.. > > But I don't want like that .. I need like this DD-MM-YYYY.. for this wt > I have to do... Read the documentation on the "DateStyle" parameter, noticing that it controls two things at once, input and output of dates. You may also use to_char() or extract() to format the date manually without messing with the configuration. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера