Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Time/date in Java< Next Oldest | Next Newest >
s_t_bris Offline





Group: Members
Posts: 14
Joined: Sep. 2005
Posted: Oct. 25 2005,22:16 QUOTE

I am getting incorrect times showing in an internet based java program (fxgame or fxtrade at www.oanda.com). The java software is programmed to display time according to the users computer, and does so when operating in Windows or Fedora Core 4.  However, when using the java uci, and firefox, the time shown in the software is about 15 hours behind what my computer shows. That makes it very confusing and hard to use.

I'm wondering if this could be related to who compiled the uci (and their time zone) - is there anything in the compilation that could affect this??? I'm in Brisbane, Australia, so there would be about 15 hrs time difference to someone somewhere in the US.

Any other suggestions?  ???
Back to top
Profile PM 
s_t_bris Offline





Group: Members
Posts: 14
Joined: Sep. 2005
Posted: Oct. 30 2005,22:43 QUOTE

It seems to be DSL rather than Java.

Rather than relying on the java uci, I downloaded Sun's java and got it working with DSL (easier than I thought it would be). It still has the same issue, where as Fedora Core 4 with exactly the same java software does not. That makes me conclude it must be something with DSL.

Does DSL (1.5) handle date/time in a different way (to say FC4) that could cause this problem??? Java must be calling up the system time somehow, and it musn't be getting it correctly from DSL???

Any ideas/suggestions?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Oct. 30 2005,23:51 QUOTE

I don't use java anymore, never looked at FC.
But timezones in DSL are explained here.
Back to top
Profile PM WEB 
s_t_bris Offline





Group: Members
Posts: 14
Joined: Sep. 2005
Posted: Nov. 01 2005,23:37 QUOTE

Quote (roberts @ Oct. 30 2005,18:51)
I don't use java anymore, never looked at FC.
But timezones in DSL are explained here.

Thanks Roberts, looks like it is a timezone issue (why didn't I think of that initially!).

You dont want to include the Aussie timezones with the next release do you? Thanks mate  :;):

I downloaded the time zone source data from http://www.twinsun.com/tz/tz-link.htm
Had a quick go at compiling it but failed.  ???     Will have to try again when I have some more time.
Back to top
Profile PM 
3 replies since Oct. 25 2005,22:16 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Time/date in Java

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code