Re: timestamp interval issue - Mailing list pgsql-novice

From Lonni J Friedman
Subject Re: timestamp interval issue
Date
Msg-id 7c1574a90710051644p49c3c2fej2c5423c47ee51fc1@mail.gmail.com
Whole thread Raw
In response to Re: timestamp interval issue  (Michael Glaesemann <grzm@seespotcode.net>)
List pgsql-novice
On 10/5/07, Michael Glaesemann <grzm@seespotcode.net> wrote:
>
> On Oct 5, 2007, at 18:08 , Valentin Gjorgjioski wrote:
>
> > where ((now>today:16:00 && date_created>today:16:00) || (now<today:
> > 16:00 && date_created>yesterday:16:00))
>
> I assume he wanted SQL: what language is this?

Yes, I was hoping for SQL.  Barring that, I'll like have to hack up
something in PHP to create a different SQL statement based on the time
of day.

pgsql-novice by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: timestamp interval issue
Next
From: "Lonni J Friedman"
Date:
Subject: Re: timestamp interval issue