Re: Select data for current week only

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Select data for current week only
Date: 2009-08-27 19:10:51
Message-ID: 20090827191051.GB5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 27, 2009 at 11:09:36AM -0700, BlackMage wrote:
> The field I am using for sorting is a Date type with the format yyyy-mm-dd
> hh:mm:ss .

Values that look like that are normally stored in timestamp columns, not
date column. You wouldn't get the time part if it was just a date.

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2009-08-27 19:14:19 Re: Select data for current week only
Previous Message Sam Mason 2009-08-27 19:06:41 Re: Select data for current week only