有没有控件是可以选择时间段,例如选择8:00,(不需要显示日期)。然后将8:00存入字段。
把datatimepicker的format设置为customcustomformat设置HH:mm就是时分