Q: timestamp - timestamp

Поиск
Список
Период
Сортировка
От Sepp Rudel
Тема Q: timestamp - timestamp
Дата
Msg-id 20030428085740.44009.qmail@web20501.mail.yahoo.com
обсуждение исходный текст
Ответы Re: Q: timestamp - timestamp  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-novice
Hi,

this must be a no-brainer but I just can't get this
working: I'd like to substract one timestamp from
another and have the result as integer/seconds, e.g.:

2003-04-28 14:10:00+01 - 2003-04-28 14:00:00+01

would produce

600

Thanks in advance.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


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

Предыдущее
От: Jonathan Wright
Дата:
Сообщение: Re: Problem in FOR loop
Следующее
От: Sergey Holod
Дата:
Сообщение: Making "SECURITY DEFINER" procedures