Calendar calendar = Calendar.getInstance();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyMMdd");
System.out.println("현재시간 : " + dateFormat.format(calendar.getTime()));
yyMMdd => 140505 형식으로 출력됨.
Calendar calendar = Calendar.getInstance();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyMMdd");
System.out.println("현재시간 : " + dateFormat.format(calendar.getTime()));
yyMMdd => 140505 형식으로 출력됨.