Question: Write a method that takes in a String that represents a date in the format MM/DD/YYYY, extract out the month, the day, and the year
Write a method that takes in a String that represents a date in the format MM/DD/YYYY, extract out the month, the day, and the year and return a String that contains the months name, day, and year. Assume the String parameter is always a valid date.
Example
If the parameter is "01/19/1973", the return value is "January 19, 1973".
If the parameter is "11/14/2010", the return value is "November 14, 2010".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
