Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 48772475D4B for ; Fri, 8 Nov 2002 16:11:07 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 62647475D00 for ; Fri, 8 Nov 2002 16:11:06 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id gA8LB5hR027706; Fri, 8 Nov 2002 16:11:05 -0500 (EST) To: Roberto Mello Cc: pgsql-sql@postgresql.org Subject: Re: Time difference without intervals In-reply-to: <20021108182002.GC25961@cc.usu.edu> References: <20021108182002.GC25961@cc.usu.edu> Comments: In-reply-to Roberto Mello message dated "Fri, 08 Nov 2002 11:20:02 -0700" Date: Fri, 08 Nov 2002 16:11:05 -0500 Message-ID: <27705.1036789865@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/145 X-Sequence-Number: 10287 Roberto Mello writes: > Is there any way to make a timestamp difference operation not return an > interval? I'd like to get hours, minutes and seconds only, not the "1 day" > or whatnot. I think your complaint is not that you get an interval, but that you want it displayed differently. See to_char() ... regards, tom lane