Search Postgresql Archives

Age() calculation question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx blee@xxxxxxxxxxxxx
         pgp:D3EE2269 <certserver.pgp.com>

Attachment: pgpK4gUU5EU3I.pgp
Description: PGP signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux