title: How to create datePicker and timePicker dialogs in fragment class?
body: <p>I want to know is there a way to create a datePicker in a fragment? I am creating one the regular activity may and it gives me syntax error. What is the correct way to do this?</p>