On Thu, Feb 23, 2006 at 03:08:32PM -0600, Scott Marlowe wrote:
> > SELECT * FROM table WHERE date < now()::DATE::(TIMESTAMP - 60);
>
> Tell it you're subracting a minute:
>
> select now() - interval '13 minutes';
Or, better yet if you're feeding in a variable:
date < now() - ( 13 * '1 minute'::interval )
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461