Convert time to millisec? - Mailing list pgsql-general

From Bjørn T Johansen
Subject Convert time to millisec?
Date
Msg-id 20060828104847.281e0727@foxhound
Whole thread Raw
Responses Re: Convert time to millisec?  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
I have a statement looking like this...:

select sum(Til - Fra) as total from Log_stop where OrdreID = 3434

but I would like the result to be in milliseconds, is this possible? If so, how?
(the fields Til and Fra is of type Time)



Regards,

BTJ

--
-----------------------------------------------------------------------------------------------
Bjørn T Johansen

btj@havleik.no
-----------------------------------------------------------------------------------------------
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
-----------------------------------------------------------------------------------------------

pgsql-general by date:

Previous
From: Ragnar
Date:
Subject: Re: optimising UNION performance
Next
From: Rafal Pietrak
Date:
Subject: Re: optimising UNION performance