If you set to 180 days by selecting these check boxes.. It is mean that vCenter database will keep tasks & events entries for 180 days for your reference. Specially you need to use this if you want to limit your database space usage.
Also if you do not use these options, these entries will be there all the time.
Message was edited by: Vikas