Quantcast
Channel: how do you aquire a persons exact age by birthday?
Browsing all 12 articles
Browse latest View live

Re: Updating Age in Database

Hy, u may try this.. Dim dateOfBirth as Date = "Birthdate" Dim CurrentDate as Date = Now() Dim myAge as integer = DateDiff(DateInterval.Year,dateOfBirth,CurrentDate) after u get ur age.. apply an...

View Article



Re: Updating Age in Database

anyone? can tell me how to update the database with this code?

View Article

Updating Age in Database

Now that the age is entered into the database the first time How will I go about updating it? SqlConnection1.Open() Dim mySQL As String = "SELECT birthday, myage FROM members" Dim objCM As...

View Article

Thanks much my man

it helped it helped. Thanks for hanging in there with me BasicDatePicker.

View Article

Re: how do you aquire a persons exact age by birthday?

Hi ck1mark, I have no idea what you're trying to do. The code above is not going to do anything. I've whipped up a simple example of how to use the OnClick property and call the Age Method. The result...

View Article


Re: how do you aquire a persons exact age by birthday?

code behind: Dim dateOfBirth As Date = "11/25/2000" i have no results yet. thanks so far its a great start

View Article

Re: how do you aquire a persons exact age by birthday?

Hi ck1mark, You must convert your TextBox value to a DateTime object then pass to the Age Method. The Age Method returns an Integer which you then call the .ToString(). Something like the following...

View Article

Re: how do you aquire a persons exact age by birthday?

you posted: btw and thank you [Visual Basic] Public Shared Function Age(ByVal dateOfBirth As DateTime) As Integer If DateTime.Today.Month < dateOfBirth.Month Or DateTime.Today.Month =...

View Article


Re: how do you aquire a persons exact age by birthday?

Hi ck1mark, 849743 Hope this answers your question.

View Article


Re: how do you aquire a persons exact age by birthday?

ok, 3/12/2005 - 8/19/1982 = 5/7/22 well i need to update the database criteria for age im kinda curious if there is a smart function for this?

View Article

Re: how do you aquire a persons exact age by birthday?

take the current year and subtract the birthyear... not quite sure exactly what you're looking for...

View Article

how do you aquire a persons exact age by birthday?

all answer .. very helpful! thanks

View Article
Browsing all 12 articles
Browse latest View live




Latest Images