Re: timestamp & graph time scale - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: timestamp & graph time scale
Date
Msg-id 19649.1118673283@sss.pgh.pa.us
Whole thread Raw
In response to timestamp & graph time scale  (santosh dwivedi <mwanaag@yahoo.com>)
List pgsql-jdbc
santosh dwivedi <mwanaag@yahoo.com> writes:
>  For plotiing the data I am using G2Dint java API. To
> plot time on x axis I need to convert time to some
> integer value

I'd suggest "EXTRACT(EPOCH FROM result_time)"

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: in(...) clause and PreparedStatement
Next
From: Andrés Luna
Date:
Subject: Re: Getting Reference cursors