The year 2000 was a leap year: so there was an extra day added: Feb 29th 2000 which means that the DayOfYear move on by one. Try this and you'll see what I mean:
print datepart(dy,'02/28/1999')
print datepart(dy,'03/01/1999')
print datepart(dy,'02/28/2000')
print datepart(dy,'02/29/2000')
print datepart(dy,'03/01/2000')
"Thanks, So Do i have to make a custom function to check if leapyear = true and Month > 2 then add day=day+1 or is there any in-built function in Sql server."
Try offsetting the DOB year to this year, and check the days count:
DECLARE @DOB as DATE
SET @DOB = '1999-09-24'
PRINT DATEDIFF(dd, GETDATE(), DATEADD(yy,DATEPART(yy, GETDATE()) - DATEPART(yy, @DOB) ,@DOB))