My system time differs from what java\'s new Date() tells (+ 4 hours), so I think it\'s because some java settings. How can I make java time to be always as my linu
This code helped me.
TimeZone tzone = TimeZone.getTimeZone("Singapore"); // set time zone to default tzone.setDefault(tzone);