how do i convert format of following input into this output in php ??? Input: 'oct 20 2021' and '1o-09-2021' Output: 2021-10-20 and 'oct-09-2021'
20
Out put : oct - 10 - 2022
how do i convert format of following input into this output in php ??? Input: 'oct 20 2021' and '1o-09-2021' Output: 2021-10-20 and 'oct-09-2021'
20
Out put : oct - 10 - 2022