This issue occurs if the date and time in the BIOS is incorrect.
When you add an ESXi/ESX host with a incorrect system time to vCenter Server, the license is converted to an evaluation license that immediately expires.
Resolution
To resolve this issue, set the correct date and time in the host BIOS, reboot the host, then add the host to the vCenter Server inventory.
For more information on setting the correct date and time in the BIOS, consult your vendor.