Create Customer custom attribute in magento 2.3

I need to create customer custom attribute as datetime in magento 2.3 Below is my code into Setup/Patch/Data/AddLastPasswordChangeCustomerAttribute.php with apply() funcation public function apply() { $this->moduleDataSetup->getConnection()->startSetup(); /** @var EavSetup $eavSetup */ $eavSetup = $this->eavSetupFactory->create([‘setup’ => $this->moduleDataSetup]); $eavSetup->addAttribute( \Magento\Customer\Model\Customer::ENTITY, ‘last_password_change’, [ ‘type’ => ‘varchar’, ‘label’ => ‘last_password_change’, ‘input’ => ‘text’, ‘source’ => ”, ‘frontend’ => ”,…