DateTimePicker: pick both date and time

前端 未结 7 1554
独厮守ぢ
独厮守ぢ 2020-11-28 04:01

Is it possible to use DateTimePicker (Winforms) to pick both date and time (in the dropdown)? How do you change the custom display of the picked value? Also, is it possible

7条回答
  •  被撕碎了的回忆
    2020-11-28 04:08

    Go to the Properties of your dateTimePickerin Visual Studio and set Format to Custom. Under CustomFormat enter your format. In my case I used MMMMdd, yyyy | hh:mm


提交回复
热议问题