formating interval question - Mailing list pgsql-general

From mike
Subject formating interval question
Date
Msg-id 1096023524.12742.5.camel@datacc
Whole thread Raw
Responses Re: formating interval question
List 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 by date:

Previous
From: Daniel Martini
Date:
Subject: plpgsql-fct. fails on NULL in record variables
Next
From: Manolatos Tilemahos
Date:
Subject: How to pass initdb LC_COLLATE & locale parameters when using wind ows? (with or without pginstaller)