armoredcars
New member
- Local time
- Today, 15:13
- Joined
- Jun 25, 2007
- Messages
- 9
I'm trying to make a button that will calculate someone's age by their birthday using Visual Basic. Here is one of my many attempts:
Private Sub Command16_Click()
CCurrentAge = DateDiff("yyyy", CBirtday, Now)
End Sub
All I can ever get is 108 no matter what I put in CBirthday (box on my form.)
Private Sub Command16_Click()
CCurrentAge = DateDiff("yyyy", CBirtday, Now)
End Sub
All I can ever get is 108 no matter what I put in CBirthday (box on my form.)