Re: How to convert US date format to European date format ?
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: How to convert US date format to European date format ? |
| Дата | |
| Msg-id | 51680AD1.8020507@gmail.com обсуждение исходный текст |
| Ответ на | Re: How to convert US date format to European date format? (Condor <condor@stz-bg.com>) |
| Список | pgsql-general |
On 04/12/2013 01:54 AM, Condor wrote:
>>
>>
>>
>> --
>> john r pierce 37N 122W
>> somewhere on the middle of the left coast
>
> Yes, I see this function but if I need to select 100 000 rows this mean
> I think,
> this function will be start 100 000 times. I mean when I ask the question,
> it's is possible to format the date how I like it without to use functions,
> just something like: set datestyle ('postgres with my custom format
> 00:00:00 dmy', DMY)
> something like that. Sry that I did not explain it.
FYI, DateStyle uses functions also, as the stored date has to be
reformatted to whatever style is chosen. See datetime.c in the source
for the functions. I would try to_char() and see if it makes a
discernible difference in the select.
>
>
> Cheers,
> Hristo S.
>
>
--
Adrian Klaver
adrian.klaver@gmail.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера