First and last day of the year is simply this:
select DATEFROMPARTS(year(getdate()), 1, 1) select DATEADD(d , -1, DATEFROMPARTS(year(getdate())+1, 1, 1))