From: Andrew Perrin - Demography <aperrin@demog.berkeley.edu>
To: pgsql-sql@postgresql.org
Subject: Subtracting from a date
Date: Wed, 12 Apr 2000 10:46:06 -0700 (PDT)
Message-ID: <Pine.LNX.4.10.10004121040080.12210-100000@famine.DEMOG.Berkeley.EDU> (raw)
I need to find all records with a date field (date_effective) 3 years or
less prior to now(). This clearly must be possible, but I'm not figuring
it out. Any suggestions?
---------------------------------------------------------------------
Andrew J. Perrin - aperrin@demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography - University of California at Berkeley
2232 Piedmont Avenue #2120 - Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: aperrin@demog.berkeley.edu
Subject: Re: Subtracting from a date
In-Reply-To: <Pine.LNX.4.10.10004121040080.12210-100000@famine.DEMOG.Berkeley.EDU>
References: <Pine.LNX.4.10.10004121040080.12210-100000@famine.DEMOG.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox