Re: timestamp + 1 hour????

Поиск
Список
Период
Сортировка
Искать

Re: timestamp + 1 hour????

От:
Vivek Khera <khera@kcilink.com>
Дата:
>>>>> "CL" == Cefull Lo  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@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/
FAQ