Re: number of weeks

Поиск
Список
Период
Сортировка
От Robert B. Easter
Тема Re: number of weeks
Дата
Msg-id 00070404043400.01354@comptechnews
обсуждение исходный текст
Ответ на number of weeks  (<hikmat@laurel.4com.net.lb>)
Список pgsql-general
On Mon, 03 Jul 2000, hikmat@laurel.4com.net.lb wrote:
> is there a function that returns the number of weeks since the begining
> of the year or the number of days

-- Week number of the year
to_char(CURRENT_TIMESTAMP, 'WW');
-- Day number of the year
to_char(CURRENT_TIMESTAMP, 'DDD');

See the documentation at:
http://www.comptechnews.com/~reaster/postgres/functions2976.htm

--
Robert B. Easter



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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Re: [HACKERS] proposed improvements to PostgreSQL license
Следующее
От: "K. Ari Krupnikov"
Дата:
Сообщение: Re: psql dumps core