You can change this Password policy using the below link and set your custom days .
More information
Users in the vsphere.local domain can change their vCenter Single Sign-On passwords from the
vSphere Web Client. Users in other domains change their passwords following the rule
I see NO custom days, only ability to change Max Lifetime (which is basically only how many days you are REQUIRED to change) not warning.
We want to know how to turn WARNING or notifications off, not change Max Days setting. There doesn't appear to be any way.... but your post is misleading, there is still no solution.