•对于时间值,Hour、Minute、Second和Millisecond属性返回这些时间单位的整数值。 返回日期和时间值(如何使用格式字符串以首选格式显示日期。) MessageBox.Show ("The selected value is "+ dateTimePicker1.Text; MessageBox.Show ("The day of the week is "+ dateTimePicker1.Value.DayOfWeek.ToString(; MessageBox.Show("Millisecond is: "+ dateTimePicker1.Value.Millisecond.ToString(; 使用DateTimePicker 控件显示时间 usingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; using System.Data;