Skip site navigation (1) Skip section navigation (2)

Re: Adding seconds to a time

From: "Rob Richardson" <Rob(dot)Richardson(at)rad-con(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Adding seconds to a time
Date: 2010-09-15 13:20:04
Message-ID: 04A6DB42D2BA534FAC77B90562A6A03D015548EE@server.rad-con.local (view raw or flat)
Thread:
Lists: pgsql-novice
And, of course, as soon as I post the question I find the answer,
through a more intelligent search:
 
Multiply the number by a standard interval:  
    select N * '1 second'::interval
 
RobR
 

Responses

pgsql-novice by date

Next:From: Jean-Yves F. BarbierDate: 2010-09-15 13:46:42
Subject: Re: Adding seconds to a time
Previous:From: Rob RichardsonDate: 2010-09-15 13:16:31
Subject: Adding seconds to a time

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group