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

Re: Use of 'interval'

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Tom Allison <tallison(at)tacocat(dot)net>
Subject: Re: Use of 'interval'
Date: 2004-09-26 09:55:24
Message-ID: 4156920C.70903@bigfoot.com (view raw or flat)
Thread:
Lists: pgsql-general
Tom Allison wrote:
> I'm digging throught the data types and am trying to understand how to 
> utilize the interval data type.
> 
> I'm thinking I can use these values to add to another date field...

just add them:  timestamp + interval = timestamp


Regards
Gaetano Mendola


In response to

pgsql-general by date

Next:From: David HelgasonDate: 2004-09-26 11:11:10
Subject: Re: Large arrays give long lag on server side before command executes
Previous:From: maridu h.s.n.v.prasadDate: 2004-09-26 07:49:39
Subject: doubt about the database

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