1、只顯示日期
默認就是

2.只顯示時間
修改屬性
Format 設為Time
ShowUpDown設為true

3.同時顯示日期時間
Format設為Custom
CustomFormat 設為 yyyy-MM-dd HH:mm:ss
ShowUpDown設為true
