안드로이드 개발 질문/답변
(글 수 45,052)
헬프헬프요 ㅠㅠ2011.04 여기서 . 빼고 201104로 하는방법좀 알려주세요 ㅠ
진짜 쌩기초적인건데 ㅠㅠ
EditText mTvPrescription ;
mTvPrescription.setText("201004");
mTvPrescription.getText().toString().substring(0, 4) + mTvPrescription.getText().toString().substring(6, 7)
이렇게 하니까
2011.04로 안나오고 20114로 나오게 되더라구요 ㅠㅠ
어떻게 201104로 간편히 나오게 하는 방법 없나요?





SimpleDateFormat 한 번 알아보세요;