pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: q u a d r a <quadratini@sni.ph>
To: pgsql-sql@postgresql.org
Subject: time difference
Date: Fri, 28 Jun 2002 11:58:39 +0800
Message-ID: <3D1BDEEF.50409@sni.ph> (raw)


I have a query that returns
    ?column?    
-----------------
 6 days 01:56:14
(1 row)


How can I get it as total number of hours?
Instead of days and hours, I need hours only (all in all, so 24hours * 6 
days + 01:56:14)
Can you help me please? Thanks






view thread (2+ messages)

Message-ID: <3D1BDEEF.50409@sni.ph>
Permalink:  ../3D1BDEEF.50409@sni.ph/
Also on:    postgresql.org/message-id/3D1BDEEF.50409@sni.ph

 · 

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: quadratini@sni.ph
  Subject: Re: time difference
  In-Reply-To: <3D1BDEEF.50409@sni.ph>

* 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