Java tutorial
import java.time.LocalDateTime; import java.time.Month; import java.util.Locale; public class Main { public static void main(String[] args) { Locale englishUS = Locale.US; LocalDateTime ldt = LocalDateTime.of(2014, Month.JANUARY, 25, 11, 48, 16); System.out.printf(englishUS, "US: %tB %<te, %<tY %<tT %<Tp%n", ldt); } }