pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jamison Roberts <jamisonroberts@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Formatting an Interval
Date: Fri, 31 Dec 2004 11:37:32 -0500
Message-ID: <238e52230412310837183fb730@mail.gmail.com> (raw)

All of the functions that i've looked at seem to only extract parts
from Intervals.  What I need to do is to format the interval.  For
instance, I have a Interval with the value 1 day 07:57:52.  I would
like that in HH:MM:SS.  So in the example the output would be
31:57:52.

How can this be done?



view thread (7+ messages)  latest in thread

Message-ID: <238e52230412310837183fb730@mail.gmail.com>
Permalink:  ../238e52230412310837183fb730@mail.gmail.com/
Also on:    postgresql.org/message-id/238e52230412310837183fb730@mail.gmail.com

 · 

reply

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: jamisonroberts@gmail.com
  Subject: Re: Formatting an Interval
  In-Reply-To: <238e52230412310837183fb730@mail.gmail.com>

* 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