You'll need to import DateTime as PhpDateTime here, as DateTime exists in this namespace already (DateTime form element).