how do i add a number of days to now()?

Поиск
Список
Период
Сортировка
От stig erikson
Тема how do i add a number of days to now()?
Дата
Msg-id do3hv7$dba$1@floppy.pyrenet.fr
обсуждение исходный текст
Ответы Re: how do i add a number of days to now()?
Список pgsql-novice
hi.

i am trying to do something like:
insert into table (limitDate) VALUES( now() + 2 days);

my problem is, how do i make postgresql understand that i want to add 2
days to the current time?

the column limitDate is of the timestamp type.

thanks
stig

В списке pgsql-novice по дате отправления: