Java tutorial
import java.time.ZoneId; import java.time.ZonedDateTime; public class Main { public static void main(String[] args) { ZoneId z = ZoneId.from(ZonedDateTime.now()); System.out.println(z); } }