I have a variable that contains a date
$date = "04/18/2017 04:02 PM";
This comes from a date field, This field will always contain a date like this, and What I'm trying to do is separating the date from the time
So how do i go about getting only 04/18/2017 from the variable or the time 04:02 PM ?
Thanks.