KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a problem in DatePicker in android when I use getMonth() method then it will return a wrong value. For example: DatePicker datepicker=new DatePicker(); int day=date.getDayOfMonth(); int month=date.getMonth(); int year=date.getYear(); t.setText(""+day+" / "+month+" / "+year); If I will select aug 06 1987 then it will return 6/7/1987 I think it is an error, if not tell me the reason please.
Tags (comma-separated)
Save Edits
Cancel