Java tutorial
import java.time.LocalDate; import java.time.LocalTime; import java.time.ZoneId; import java.time.ZonedDateTime; public class Main { public static void main(String[] args) { LocalDate localDate = LocalDate.of(2013, 11, 12); LocalTime localTime = LocalTime.of(23, 10, 44, 12882); ZoneId chicago = ZoneId.of("America/Chicago"); ZonedDateTime chicagoTime = ZonedDateTime.of(localDate, localTime, chicago); System.out.println(chicagoTime); } }