PHP DATETIME Utwórz

$date = DateTime::createFromFormat('d-m-Y', '15-12-2020');
ReInstall