Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5SCXga91797 for ; Thu, 28 Jun 2001 08:33:42 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5SB25a55751 for ; Thu, 28 Jun 2001 07:02:05 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f5SB1xa39316 for pgsql-sql@postgresql.org; Thu, 28 Jun 2001 07:01:59 -0400 (EDT) (envelope-from news) From: jeff@emojo.com (Jeff Rhys-Jones) X-Newsgroups: comp.databases.postgresql.sql Subject: Using DateDiff with Postgres Date: 28 Jun 2001 04:01:54 -0700 Organization: http://groups.google.com/ Lines: 10 Message-ID: <7a92561a.0106280301.6972d149@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-support@google.com To: pgsql-sql@postgresql.org X-Archive-Number: 200106/443 X-Sequence-Number: 3744 Hi there. I was wondering if anyone can tell me the correct syntax for using DateDiff for postgrees. I'm using MI (or mi) for minute and I keep getting attribute 'mi' not found. I've looked at postgres.org and can't seem to find any ref. to using datediff. Many thanks, Jeff