SyntaxFix
Write A Post
Hire A Developer
Questions
The best way to do this is this:
datetimepicker.Format = DatetimePickerFormat.Custom; datetimepicker.CustomFormat = "HH:mm tt"; datetimepicker.ShowUpDowm = true;