Java tutorial
import java.time.ZoneId; import java.time.ZoneOffset; import java.time.ZonedDateTime; public class Main { public static void main(String[] args) { ZonedDateTime nowInAthens = ZonedDateTime.now(ZoneId.of("Europe/Athens")); System.out.println(nowInAthens.withZoneSameInstant(ZoneId.ofOffset("UTC", ZoneOffset.ofHours(3)))); } }