Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

I'm a beginner java programmer, and my teacher was absent recently. The sub taught us nothing. I am currently working on time zones / converting GMT to other time zones. If you're novice / advanced at Java programming language I would love some assistance : )

OpenStudy (rsmith6559):

What part is giving you issues? How computers handle time is a large subject.

OpenStudy (kva1992):

try { DateFormat gmtFormat = new SimpleDateFormat(); TimeZone estTime = TimeZone.getTimeZone("EST"); gmtFormat.setTimeZone(estTime); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); sdf.setTimeZone(TimeZone.getTimeZone("GMT")); System.out.println("EST Time: " +gmtFormat.format(sdf.parse("20140508063630"))); } catch (ParseException e) { e.printStackTrace(); } should be something like this code is fairly self explanatory but if you need me to explain just ask and i will

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
14 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
17 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Arizona: does anyone know the percentage rate of 30,000 and 40,000
1 week ago 0 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!