Java tutorial
import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; public class Main { public static void main(String[] argv) { DateTimeFormatter format = DateTimeFormatter.ofPattern("MMM dd yyyy hh:mm a z"); ZonedDateTime arrivalDate = ZonedDateTime.now(); String landing = arrivalDate.format(format); System.out.printf("Arriving at : %s %n", landing); } }