YEAR(GETDATE()) - YEAR([dobcolumn]) -
(SIGN
(DATEPART ("dy", [dobcolumn]) -
DATEPART ("dy", GETDATE()))
== 1 ? 1 : 0)
The magic is all in the last part there. Translated into english, it says "subtract the day of the year of the dobcolum and the day of the year of today's date. If that result is positive (i.e. the dob is later in the year than today), then subtract 1 from the total". The ternary operator was the magic bit.