From: Patrik Kudo <kudo@partitur.se>
To: Remigiusz Sokolowski <rems@gdansk.sprint.pl>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] time comparing
Date: Tue, 09 Mar 1999 13:54:22 +0100
Message-ID: <36E519FE.935BE019@partitur.se> (raw)
References: <Pine.GS4.4.02A.9903091346061.5490-100000@netra.gdansk.sprint.pl>
Remigiusz Sokolowski wrote:
>
> hi!
> I need to compare two values of time.
> One of them is just value of field - I want to compare it to value of
> now() less 1 hour - shortly I want to select all records which are older
> then 1 hour - how to do that?
Ah! This reminds me! I've been wondering about a similar problem. How do
I
exchange that 1 hour with one week or one month? Probably the same way
as
with one hour (if there is any easy way)...
Regards,
Patrik Kudo
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: kudo@partitur.se, rems@gdansk.sprint.pl
Subject: Re: [SQL] time comparing
In-Reply-To: <36E519FE.935BE019@partitur.se>
References: <Pine.GS4.4.02A.9903091346061.5490-100000@netra.gdansk.sprint.pl> <36E519FE.935BE019@partitur.se>
* 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