Change date format with month name to dd/mm/YYYY : <p>I have a string with a date in this format: April 16, 2017 23:59, I would like to write a function to change it so that it's in this format: dd/mm/YYYY eg 16/04/2017</p>

<p>I tried to use the date function but couldn't get it to work. Does anyone know how I can do this in PHP?</p>
