formating interval question

Поиск
Список
Период
Сортировка
От mike
Тема formating interval question
Дата
Msg-id 1096023524.12742.5.camel@datacc
обсуждение исходный текст
Ответы Re: formating interval question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I have an interval field which is used to calculate total hours.

At present it outputs as days hours minutes

Is there any way to output as total hours

I have tried to_char(field,'HH:MM')

but I get wierd results like -51 or -5


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

Предыдущее
От: Daniel Martini
Дата:
Сообщение: plpgsql-fct. fails on NULL in record variables
Следующее
От: Manolatos Tilemahos
Дата:
Сообщение: How to pass initdb LC_COLLATE & locale parameters when using wind ows? (with or without pginstaller)