Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DATEDIFF(YEAR, DOB, getdate()) < 6
DATEDIFF(MONTH, DOB, getdate()) < 6 * 12
DATEDIFF(DAY, DOB, getdate()) < 6 * 365
--this will return the date 6 years ago
declare @Birth smalldatetime
set @Birth = dateadd(yy,-6,getdate())
--this will get you any kids younger than 6 to the day
select * from YOUR_TABLE
where DOB > @Birth