Conver text to date in PHP

I have the text string as below:
It is text. Format is mm/dd/yy
But it is still can be recognized as yy/mm/dd or dd/mm/yy.
How to convert to the ISO date format?
I use PHP to do it.


It will convert the text to date and format it in ISO date.

Tags:, ,