db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilyak <il_zea...@mail.ru>
Subject Re: How to view TIMESTAMP in yyyy-mm-dd hh:mm:ss format
Date Wed, 03 Sep 2008 11:33:16 GMT

Thanks for your answer Mikael Aronsson.
Now I have changed this columns to varchar (30) and now it is works.





  


ilyak wrote:
> 
> Hello all, please help me!
> 
> My application connects to the Derby DB.
>  jdbc:derby://***.***.***.***:1527/MY_DB;
> And uses org.apache.derby.jdbc.ClientDriver
> 
> I use a table with TIMESTAMP fields 
> and insert values in it using ij in '2008-08-16 01:24:31' (ISO)  format.
> 
> But my application selects data from this table in '08/06/08 11:36 AM MSD'
> format.
> Please tell me how to say Derby server to return timestamp columns in ISO
> format.
> Because haven't possibility to change source code of this application.:( 
> And is it possible to disable such localization?
> 
> Thanks,
> 
> Ilya
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-view-TIMESTAMP-in-yyyy-mm-dd-hh%3Amm%3Ass-format-tp19285007p19287456.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message