Previous month function - Mailing list pgsql-novice

From Matt Arnilo S. Baluyos
Subject Previous month function
Date
Msg-id 200411171712.15439.mbaluyos@sni.ph
Whole thread Raw
Responses Re: Previous month function  (Aleksander Kmetec <aleksander.kmetec@intera.si>)
List 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 by date:

Previous
From: "Rajan Bhide"
Date:
Subject: Syntax error in DROP CONSTRAINT
Next
From: "Marcin Gil"
Date:
Subject: [OT] apache auth with postgres?