Hi
When you create a new document, there is a section called Restriction and Meta data . In this section, you need to :
1. Set Prevent Download Type to X-days .
2. In number days you want to limit in Number days textbox .
Please let me know if you need more help .
Thanks ,
Tuan