Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   How to determine his/her age by using 2 datepicker? using vb.net? (http://www.go4expert.com/forums/determine-age-using-2-datepicker-using-t23741/)

hsei99 2Nov2010 20:47

How to determine his/her age by using 2 datepicker? using vb.net?
 
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

virxen 2Nov2010 21:37

Re: How to determine his/her age by using 2 datepicker? using vb.net?
 
use datediff function


All times are GMT +5.5. The time now is 00:10.