Php Getting Invalid Datetime Format Even When Using Format Defined

Php Getting Invalid Datetime Format Even When Using Format Defined