Java ZoneId get from system default Clock
import java.time.Clock; import java.time.ZoneId; public class Main { public static void main(String[] args) { ZoneId defaultZone = Clock.systemDefaultZone().getZone(); System.out.println(defaultZone); }/*from w w w . ja v a2s .com*/ }