Java tutorial
import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class Main { public static void main(String[] argv) throws Exception { Locale locale = Locale.FRENCH; // Format with a custom format DateFormat formatter = new SimpleDateFormat("E, dd MMM yyyy", locale); String s = formatter.format(new Date()); } }