Capital One interview question

Convert a string format to another. For example, “January 01, 2019” -> “01/01/19” (arrays, strings problem)