<?php $originalDate = "12/May/2018"; $newDate = date("Y-m-d", strtotime(str_replace("/", " " ,$originalDate))); echo $newDate;
You have javascript disabled. You will not be able to edit any code.