I can get exact 3 years of value with the below code (from 01/24/2018 - 01/25/2021)
select * from datamining.dbo.EmployeeDetails where DateOfjoining >= DATEADD