pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: How do I convert an interval into integer?
Date: Thu, 4 Dec 2003 13:09:12 -0500
Message-ID: <200312041309.12704.wweng@kencast.com> (raw)

I want to convert an interval (from substraction between two timestamps) into 
a integer that represents how many seconds that interval has. How do I do 
that?

I am using postgresql 7.3.1

Thanks



Wei




view thread (2+ messages)  latest in thread

Message-ID: <200312041309.12704.wweng@kencast.com>
Permalink:  ../200312041309.12704.wweng@kencast.com/
Also on:    postgresql.org/message-id/200312041309.12704.wweng@kencast.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: wweng@kencast.com
  Subject: Re: How do I convert an interval into integer?
  In-Reply-To: <200312041309.12704.wweng@kencast.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