Calendar c = Calendar.getInstance();
int y1 = c.get(Calendar.YEAR);
int m1 = c.get(Calendar.MONTH)+1;
int d1 = c.get(Calendar.DATE)+1;
String y = Integer.toString(y1);
String m = Integer.toString(m1);
String d = Integer.toString(d1);




String result = y+m+d;

이거 왜 오류나니 ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ
이렇게 간단한것도 못하다니