как дата SQL Server не работает

WHERE (DATEPART(yy, f.Regdate) = 2018 AND DATEPART(mm, f.Regdate) = 12)
Indonesia People