Previous month function

Поиск
Список
Период
Сортировка
От Matt Arnilo S. Baluyos
Тема Previous month function
Дата
Msg-id 200411171712.15439.mbaluyos@sni.ph
обсуждение исходный текст
Ответы Re: Previous month function  (Aleksander Kmetec <aleksander.kmetec@intera.si>)
Список pgsql-novice
hello everyone,

is there already a built-in function that returns the previous month from the
current timestamp? (and includes functionality to turn back one year if
current month is january)

i don't want to reinvent the wheel but if there's none then i guess i would
just have to make one from scratch.

--
Matt Arnilo S. Baluyos
Research and Software Development
System Net International, Inc. - Philippines

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

Предыдущее
От: "Rajan Bhide"
Дата:
Сообщение: Syntax error in DROP CONSTRAINT
Следующее
От: "Marcin Gil"
Дата:
Сообщение: [OT] apache auth with postgres?