Re: timestamp + 1 hour????

From: Vivek Khera <khera(at)kcilink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: timestamp + 1 hour????
Date: 2001-08-22 20:02:37
Message-ID: x71ym36exu.fsf@onceler.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "CL" == Cefull Lo <cefull_lo(at)yahoo(dot)com> writes:

CL> How to add one hour to a given timestamp??
CL> select current_tmestamp +1;
CL> will result in one day added.

select current_timestamp + '1 hour'::interval

CL> Thanks

CL> --
CL> content-type:kiss/hug

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera(at)kciLink(dot)com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

Browse pgsql-general by date

  From Date Subject
Next Message Oberpriller, Wade D. 2001-08-22 20:23:44 ERROR: triggered data change violation on relation "mytable"
Previous Message Vivek Khera 2001-08-22 19:31:18 Re: Is it possible to work with big databases (up to 10Gb) under Postgres?