pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: teknokrat <teknokrat@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: converting interval to timestamp
Date: Thu, 31 Jul 2003 17:05:31 +0100
Message-ID: <bgbeoe$62e$1@localhost.localdomain> (raw)

The difference of two dates/timestamps always gives an interval. is 
there a way to convert this interval into  number such as number of 
milliseconds or number of days?

Also does anyone know what field type an interval would map to in jdbc?

thanks





view thread (3+ messages)  latest in thread

Message-ID: <bgbeoe$62e$1@localhost.localdomain>
Permalink:  ../bgbeoe$62e$1@localhost.localdomain/
Also on:    postgresql.org/message-id/bgbeoe$62e$1@localhost.localdomain

 · 

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: teknokrat@yahoo.com
  Subject: Re: converting interval to timestamp
  In-Reply-To: <bgbeoe$62e$1@localhost.localdomain>

* 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