Your technology certification is waiting. Enroll in Cloud Class ®
DECLARE @d AS datetime = '2013-12-31'
, convert(varchar(10),brthdate,121) AS brthdate
, YEAR(@d) - YEAR(brthdate)
- ( CASE
WHEN MONTH(brthdate) > MONTH(@d)
OR ( MONTH(brthdate) = MONTH(@d)
AND DAY(brthdate) > DAY(@d)
END ) AS Age_by_case
, YEAR(@d) - YEAR(brthdate) AS "Age by year - year"
Open in new window
, YEAR(getdate()) - YEAR(BirthDate)
- ( CASE
WHEN MONTH(BirthDate) > MONTH(getdate())
OR ( MONTH(BirthDate) = MONTH(getdate())
AND DAY(BirthDate) > DAY(getdate())
END ) AS AgeReg
Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.