I am getting data in my php variable from database:
var_dump("The schedule is: ".$my_Schedule);
I am getting this output:
string(37) "Reviews created : 2019-10-19 03:47:57"
Now I want to use this data to show something like:
// My Desired Result
Oct 01, 2019
I don't want time here.
I am doing it like this:
<p><?=date('Y-m-d',$my_Schedule);?></p>
This is not working for me.
Kindly suggest what I am doing wrong.
Any idea or suggestion would be helpful.
Thank You.