Almost.
MyDateTimePicker.Value = DateTime.Now
The property
Value
(property, not function!) is if the type
DateTime
which has all the time arithmetic operation you need. Do arithmetic with
DateTime
, not
DataTimePicker
, read or write the value of
Value
at once.
—SA