How will i remove the 0 in my output i tried this code.
$dates="2017-09-08";
$formated_date=date("d-m-Y", strtotime($dates));
Output:08-09-2017
My Expected Output : 8-9-2017
How will i remove the 0 in my output i tried this code.
$dates="2017-09-08";
$formated_date=date("d-m-Y", strtotime($dates));
Output:08-09-2017
My Expected Output : 8-9-2017