PHPExcel is giving me different date value formats on same sheet template
This is the code I use
$value = $this->worksheet->getCellByColumnAndRow(11, 1) ->getFormattedValue();
$this->_date = DateTime::createFromFormat("j/n/Y",$value);
I've tried the following answers but they didn't solve it
PHPEXCEL get formatted date as is visible in excel file
how to get date from excel using PHPExcel library
This is a problem I encountered and I hope I can help somebody else who also has this problem.