asp.net - how to change just the year part of a vb.net date -


How can I change the share of just a year?

In this way, if a user selects 3/10/2009 then I want to present the current equivalent of 3/10/2011

  slow current 1 as on date 1 = Text box 1. Text current 1. Year = now Year    

  date1 = datetime. Text (text box 1 text) current1 = new date (now year, date 1. death, date 1. day)    

Comments