$Datetime_object = DateTime::createFromFormat('Y-m-d', "2020-12-23");
Pro tip: use ```triple backticks around text``` to write in code fences