Limit date Range to only last 2 years

Hello,

Currently there is a custom tab in date filter where user can go back as much as they want. However I have a requirement to limit the date filter to limit to last 2 years only. How can I disable the option to go beyond 2 years into history? 

1 0 369