Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Calculate age from date of birth
giammin
Jul 2nd, 2013
246
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
T-SQL
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
DECLARE
@birthday
datetime
=
'1977-05-25T00:00:00'
SELECT
DATEDIFF
(
yy, @birthday,
GETDATE
(
)
)
AS
YearAge,
DATEDIFF
(
hour
,@birthday,
GETDATE
(
)
)
/
8766
AS
RealAge
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Free Crypto Method (NEVER SEEN BEFORE)⭐ O
JavaScript | 1 min ago | 0.27 KB
⭐Swapzone Glitch ✅ Working⭐ E
JavaScript | 2 min ago | 0.27 KB
✅ Make $2500 in 20 minutes⭐⭐ V
JavaScript | 2 min ago | 0.27 KB
⭐⭐Exchange Exploit⭐ 2
JavaScript | 2 min ago | 0.27 KB
⭐ChangeNOW Exploit⭐⭐ 7
JavaScript | 2 min ago | 0.27 KB
⭐✅ MAKE $2500 IN 15 MIN T
JavaScript | 2 min ago | 0.27 KB
⭐✅ Exploit 2500$ in 15 Minutes E
JavaScript | 3 min ago | 0.27 KB
Free Crypto Method (NEVER SEEN BEFORE)⭐ O
JavaScript | 3 min ago | 0.27 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!