I've been parsing the date with the following code with no problem;
$format = "Ymdhi";
$dateobj = DateTime::createFromFormat($format, $inputDate);
echo $dateobj->getTimestamp();
//This works - returns 1613379600
$dateobj1 = DateTime::createFromFormat($format, "202102150100");
echo $dateobj1->getTimestamp()
//This fails - returns false on createFromFormat and throws a fatal error on getTimestamp
$dateobj2 = DateTime::createFromFormat($format, "202102102105");
echo $dateobj2->getTimestamp()
Anyone know why?