I currently have an activity with a CalendarView, I want the user to select the date from the CalendarView to be passed to the next fragment, whereby the date will be displayed in a TextView. I have looked all over, but I have no idea how to extract the date into a string, and then retrieve it again in the fragment the activity will pass the intent to. 

I tried to refer to this answer: [Android CalendarView: How do I get the date in correct format?](https://stackoverflow.com/questions/12121214/android-calendarview-how-do-i-get-the-date-in-correct-format)
and I managed to get the date displayed in LogCat, but it doesn't pass to the fragment. If possible can someone show me how the code can be readjusted to pass it over to the fragment? 
Thanks yall so much!