Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Determine Next birth date


Determine Next birth date

Author
Message
Mark
Mark
Forum God
Forum God (142K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K
I think AddYear is what you are looking for

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim dte As Date

        dte = Convert.ToDateTime("01-Jan-08").AddYears(30)
        MessageBox.Show(dte.ToString("dd-MMM-yy"))
    End Sub

ChapMan
ChapMan
Forum God
Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)Forum God (357 reputation)

Group: Forum Members
Posts: 1, Visits: 8
Hi Senior learned colleagues



Please i need to determine the next birth date of a user.

if the user date of birth is 01-Jan-08, on what date will he be 30 years

thanks in advance
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search