How to determine his/her age by using 2 datepicker? using vb.net?

hsei99's Avatar, Join Date: Oct 2010
Newbie Member
i have 2 date picker and 1 button.

i want to create a age calculation.i put my year of birth in 1 datepicker and other
2datepicker is the date today.

when i click button msgbox will appear and said

"YOUR AGE IS 18years 1months and 2 days"

i want that output please help me
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
use datediff function