Re: converting to german date format

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: converting to german date format
Дата
Msg-id 3BB57DAB.C7309410@fourpalms.org
обсуждение исходный текст
Ответ на converting to german date format  (Janning Vygen <vygen@planwerk6.de>)
Ответы Re: converting to german date format
Список pgsql-general
> i have different databases with have columns of type 'date'.
> my application converts the date format to german date format like
> 09-28-2001 to 28.09.2001 and back again if the user enters a german
> date format.
> are there any solutions to do stuff like this inside the database?

Of course :)

thomas=# set datestyle = 'german';
SET VARIABLE

thomas=# select date 'now';
    date
------------
 29.09.2001
(1 row)

hth

                         - Thomas

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Temporary Table Problem
Следующее
От: "lt"
Дата:
Сообщение: Copy error?