Hi @VKSB ,
DateTimePicker.Value.Year is read only.
Try the following code to change the value of DateTimePicker.
DateTimePicker1.Value = New Date(CInt(TextBoxYear.Text), CInt(TextBoxMonth.Text), CInt(TextBoxDay.Text))
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.