if (!$DateFrom instanceof DateTime) {
                $DateFrom = new DateTime;
            }