KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a DatePicker and a TimePicker in my app. Can anyone tell me how to get the values of the date and time that are selected??? What i mean to say is, for EditText we can declare as final EditText name = (EditText) this.findViewById(R.id.nametext); and we can cast the data of it by using name.getText().toString() . So similarly how can we get the values of DatePicker and TimePicker to a String???
Tags (comma-separated)
Save Edits
Cancel