Re: timestamp interval issue - Mailing list pgsql-novice

From Lonni J Friedman
Subject Re: timestamp interval issue
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: timestamp interval issue  (Michael Glaesemann <[email protected]>)
List pgsql-novice
On 10/5/07, Michael Glaesemann <[email protected]> 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