Parse Date String Return Wrong Month
问题 I try to parse date string but always get wrong month. Here's my code. This is code to select date from calender @OnClick(R.id.tedit_tgllahir_addnew) void showTimeDialog(){ calendar = Calendar.getInstance(); year = calendar.get(Calendar.YEAR); month = calendar.get(Calendar.MONTH); date = calendar.get(Calendar.DAY_OF_MONTH); DatePickerDialog datePickerDialog = new DatePickerDialog(AddDataForNewUserActivity.this, new DatePickerDialog.OnDateSetListener() { @Override public void onDateSet