how to determine the time to the expiration of the form?