简体   繁体   中英

How to restrict datetimepicker to weekdays and save it?

I need to know how am I able to restrict datetimepicker to weekdays, so the user can only select days from Monday to Friday.

Since now it is only displaying the weekday as inserted in Custom Format (DateTimePicker Properties) an I will also need it to only save the "name" of the days of the week and not the whole field with time and day/month/year.

Thank you

由@Plutonix解决,最好使用组合框。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM