Re: Dates in postgres - Mailing list pgsql-novice

From Josh Berkus
Subject Re: Dates in postgres
Date
Msg-id web-800782@davinci.ethosmedia.com
Whole thread Raw
In response to Dates in postgres  (Rob <rob@obsidian.co.za>)
List pgsql-novice
Rob,

> I can get today's date in postgres using the current_date function,
>  but I
> need to get the date one month ago from the current date.  Is there
>  any
> way to do this?

See:
http://techdocs.postgresql.org/techdocs/faqdatesintervals.php

-Josh

pgsql-novice by date:

Previous
From: "David J. Lines"
Date:
Subject: Major newbie
Next
From: Tom Lane
Date:
Subject: Re: Array as a parameter in user-defined functions