Wie Datum SQL Server funktioniert nicht

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