Hi,
You can check the expiration date like this:
# Retrieve the corresponding API object ("view")
$appView = $FrankApp | Get-CIView
# Retrieve the Lease settings section (containing information about the storage/runtime leases)
$leaseSection = $appView.Section | where {$_ -is [VMware.VimAutomation.Cloud.Views.LeaseSettingsSection]}
# Retrieve the runtime (deployment) expiration date
$leaseSection.DeploymentLeaseExpiration
This gives you the exact date/time when the VApp will expire. You can also check the storage expiration date (from $leaseSection.StorageLeaseExpiration). Note that only one of these is available at a time (based on the VApp power state). If the VApp is powered on - you will have DeploymentLeaseExpiration; if the VApp is powered off - you will have StorageLeaseExpiration.