Re: Current Year

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Current Year
Дата
Msg-id Pine.LNX.4.30.0102151933250.1211-100000@peter.localdomain
обсуждение исходный текст
Ответ на Current Year  (Hunter Hillegas <hunter@lastonepicked.com>)
Список pgsql-general
Hunter Hillegas writes:

> I have an HTML form that submits to Postgre 7.1 beta 4 and I'm wondering how
> to get the current year from the database...

select extract(year from current_date);

> Also, is there a good reference to the PostgreSQL function library? I've
> looked around and can't seem to find one.

http://www.postgresql.org/users-lounge/docs/7.0/user/functions.htm

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: misc psql questions
Следующее
От: "bcs-brockmann.de"
Дата:
Сообщение: Error by starting postmaster