After receiving the year, month and day, you can format the date as follows:
DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM);
DateFormat.MEDIUM displays the date as January 12, 1952 in the example. If you want to display the full name of the month, you can use DateFormat.LONG.
This is the easiest way, in my opinion.
source share