pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Katka a Daniel Dunajsky <daniel_katka@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Calculating with the time
Date: Fri, 30 May 2003 12:04:05 -0600
Message-ID: <Law12-F35awhftgLeCR0002781b@hotmail.com> (raw)

Hello All,

I am looking for an advice how to do calculation with the time. I do have a 
column with datatype 'timestamp with time zone'. The value is '2003-03-22 
07:53:56-07' for instance. I would like to select it from the table with 
result of '07:59:59' – '07:53:56', so the query should return '00:06:03'.

Thank you for your time.

DanielD

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail




view thread (2+ messages)  latest in thread

Message-ID: <Law12-F35awhftgLeCR0002781b@hotmail.com>
Permalink:  ../Law12-F35awhftgLeCR0002781b@hotmail.com/
Also on:    postgresql.org/message-id/Law12-F35awhftgLeCR0002781b@hotmail.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: daniel_katka@hotmail.com
  Subject: Re: Calculating with the time
  In-Reply-To: <Law12-F35awhftgLeCR0002781b@hotmail.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