📅  最后修改于: 2022-03-11 14:51:52.945000             🧑  作者: Mango
'When the user press "clear button" or "delete key" do
dtpData.CustomFormat = " " 'An empty SPACE
dtpData.Format = DateTimePickerFormat.Custom
'On DateTimePicker1_ValueChanged event do
dtpData.CustomFormat = "dd/MM/yyyy"