Final answer:
Data expiration is the setting that allows data retention to be controlled by time.
Step-by-step explanation:
The setting that allows data retention to be controlled by time is data expiration. Data expiration is a feature in many databases and storage systems that allows you to define a specific time period after which data is automatically deleted or purged. It can be useful for managing storage space and complying with data privacy regulations.