How can I add aditional hours for the value of DateTimePicker. What I want to do is to add 9 hours for the initial value of the date time picker. Thanks
Printable View
How can I add aditional hours for the value of DateTimePicker. What I want to do is to add 9 hours for the initial value of the date time picker. Thanks
Note that the Value property is a Date object, so you can do anything to or with it that you can do to or with any other Date object.vb.net Code:
myDateTimePicker.Value = myDateTimePicker.Value.AddHours(9)
Thanks