Java tutorial
import java.time.ZoneId; import java.time.ZonedDateTime; public class Main { public static void main(String[] args) { ZonedDateTime z = ZonedDateTime.of(2014, 9, 3, 12, 12, 123, 1234, ZoneId.systemDefault()); System.out.println(z); } }