I created CSV file having date field in format 12-08-2018. When I opened csv file in Excel sheet it displays and saves in format 12/AUG/2018 to file.
When I am trying to parse it gives me wrong:
<?php
echo date('Y-m-d',strtotime('12/AUG/2018')); // 1969-12-31
?>
So, What could be the best way to handle parsing of date coming form excel sheet.