英文格式可见JDK API略举几个:
//2012-01-16 System.out.println((new SimpleDateFormat("yyyy-MM-dd")).format(new Date())); //16-Jan-2012 System.out.println((new SimpleDateFormat("dd-MMM-yyyy",Locale.ENGLISH)).format(new Date())); //16-Jan-2012 Monday System.out.println((new SimpleDateFormat("dd-MMM-yyyy EEEEE",Locale.ENGLISH)).format(new Date())); //16-Jan-2012 Monday PM System.out.println((new SimpleDateFormat("dd-MMM-yyyy EEEEE aa",Locale.ENGLISH)).format(new Date()));?