Age() calculation question

Поиск
Список
Период
Сортировка
От Bob Lee
Тема Age() calculation question
Дата
Msg-id 20050511013239.GA20558@mach.cnsisp.com
обсуждение исходный текст
Ответы Re: Age() calculation question  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
I have two timestamps -- start and end. I use age(end,start)
to give me a "session" time and then I subtotal those. If
the total times are less than 24 hours I get a time is the
format of XX:xx:xx -- this is great. But if the time is over
24 hours I get 1 day XX:xx:xx, which really raises hell with
my export to Excel. Any suggestions on how to avoid this
little snag?

Thanks for your help.

Bob Lee
--
       **** I prefer email in plain text ****
         bob@cnsisp.com blee@freeshell.org
         pgp:D3EE2269 <certserver.pgp.com>

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: SECURITY RELEASES: 7.2.8 - 7.3.10 - 7.4.8 - 8.0.3
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PERFORM] "Hash index" vs. "b-tree index" (PostgreSQL