From: Tom Lane <tgl@sss.pgh.pa.us>
To: Roberto Mello <rmello@cc.usu.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Time difference without intervals
Date: Fri, 08 Nov 2002 16:11:05 -0500
Message-ID: <27705.1036789865@sss.pgh.pa.us> (raw)
In-Reply-To: <20021108182002.GC25961@cc.usu.edu>
References: <20021108182002.GC25961@cc.usu.edu>
Roberto Mello <rmello@cc.usu.edu> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, rmello@cc.usu.edu
Subject: Re: Time difference without intervals
In-Reply-To: <27705.1036789865@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox