+ 13
How can I adjust this java clock to align with USA time ?
I have tried the code here and I Just ran it on https://www.compilejava.net/ and same results as here on SL with no errors but the time is like 4 hours out of sink... https://code.sololearn.com/cY5Z35t6c09N/?ref=app <Solved>â
2 Answers
+ 11
Thanks Gordon but that was the wrong answer
<Solved>
First I had to set GMT as primary setting and then target each timeZone ZoneIds...
Look at the code to see code and generate results.
+ 1
Java's java.util.TimeZone
TimeZone.getTimeZone("America/New_York" )