DateTime.Year = Me.TextBoxDateYear.Text
DateTime.Month = Me.TextBoxDateMonth.Text
DateTime.Day = Me.TextBoxDateDay.Text
DateTime.Hour = Me.TextBoxHour.Text
DateTime.Minute = Me.TextBoxMinute.Text
This doesn't work of course, but illustrate what I try to achieve. Write the date and time in textboxes and then set the computer time accordingly.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)