hi
how to calculate the one year from selected date by using datetimepicker control
in windows applications using c#
please help me
Datetimepicker control
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jan 22, 2013, 11:31 PM EST
the above one will add 1 year to current date.
VulpesRank #55 · 29.2K reputationPosted Jan 23, 2013, 12:40 AM EST
DateTimePicker1.SelectedDate.AddYears(1)