标签: vb.net
我有DateTimePicker自定义格式为" hh:mm:ss"。如何添加包含" 16:00:00"的值的字符串?这个DTP?
DateTimePicker
hh:mm:ss
16:00:00
答案 0 :(得分:0)
Dim cnv As String = "16:54:06" Dim CTime As DateTime = Convert.ToDateTime(cnv) MyDateTimePicker.Value = CTime