convert date in MM-DD-YYYY to YYYY-MM-DD or MM/DD/YYYY to YYYY-MM-DD in PHP Posted by Unknown on June 30, 2015 Get link Facebook X Pinterest Email Other Apps $dob = 09-14-1986; $date = DateTime::createFromFormat('m-d-Y', $dob); $dob = $date->format('Y-m-d'); Comments
Comments
Post a Comment