Changes a date format.
- Date
- A String object that represents the date you want to reformat.
- Input format
- A String object that represents the original format of the date.
- Output format
- A String object that represents the new format for the date.
Returns a String object that contains the reformatted date.
