If day(dob) = 1 Then DateTimePicker2.Value = DateSerial(Year(dob) + 60, Month(dob), 0) Else DateTimePicker2.Value = DateSerial(Year(dob) + 60, Month(dob) + 1, 0) End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)