sanjay.vaniya 0 Newbie Poster

TextBox1.Text = (DateTime.Now.Year - dateTimePicker1.DisplayDate.Date.Year).ToString();

Here we can solve just year of birthday
But
How can we get year of Month and Day

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.